loop: clean up grammar in warning message
The phrase "has still" should be "still has" to clean up the grammar. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20220208114656.61629-1-colin.i.king@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
24afc15dbe
commit
d9a74051a7
@@ -1262,7 +1262,7 @@ loop_set_status(struct loop_device *lo, const struct loop_info64 *info)
|
|||||||
if (size_changed && lo->lo_device->bd_inode->i_mapping->nrpages) {
|
if (size_changed && lo->lo_device->bd_inode->i_mapping->nrpages) {
|
||||||
/* If any pages were dirtied after invalidate_bdev(), try again */
|
/* If any pages were dirtied after invalidate_bdev(), try again */
|
||||||
err = -EAGAIN;
|
err = -EAGAIN;
|
||||||
pr_warn("%s: loop%d (%s) has still dirty pages (nrpages=%lu)\n",
|
pr_warn("%s: loop%d (%s) still has dirty pages (nrpages=%lu)\n",
|
||||||
__func__, lo->lo_number, lo->lo_file_name,
|
__func__, lo->lo_number, lo->lo_file_name,
|
||||||
lo->lo_device->bd_inode->i_mapping->nrpages);
|
lo->lo_device->bd_inode->i_mapping->nrpages);
|
||||||
goto out_unfreeze;
|
goto out_unfreeze;
|
||||||
@@ -1482,7 +1482,7 @@ static int loop_set_block_size(struct loop_device *lo, unsigned long arg)
|
|||||||
/* invalidate_bdev should have truncated all the pages */
|
/* invalidate_bdev should have truncated all the pages */
|
||||||
if (lo->lo_device->bd_inode->i_mapping->nrpages) {
|
if (lo->lo_device->bd_inode->i_mapping->nrpages) {
|
||||||
err = -EAGAIN;
|
err = -EAGAIN;
|
||||||
pr_warn("%s: loop%d (%s) has still dirty pages (nrpages=%lu)\n",
|
pr_warn("%s: loop%d (%s) still has dirty pages (nrpages=%lu)\n",
|
||||||
__func__, lo->lo_number, lo->lo_file_name,
|
__func__, lo->lo_number, lo->lo_file_name,
|
||||||
lo->lo_device->bd_inode->i_mapping->nrpages);
|
lo->lo_device->bd_inode->i_mapping->nrpages);
|
||||||
goto out_unfreeze;
|
goto out_unfreeze;
|
||||||
|
|||||||
Reference in New Issue
Block a user