2022-02-09 09:42:49

by Colin Ian King

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
drivers/block/loop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 01cbbfc4e9e2..bdea448d2419 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -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 any pages were dirtied after invalidate_bdev(), try again */
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,
lo->lo_device->bd_inode->i_mapping->nrpages);
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 */
if (lo->lo_device->bd_inode->i_mapping->nrpages) {
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,
lo->lo_device->bd_inode->i_mapping->nrpages);
goto out_unfreeze;
--
2.34.1



2022-02-12 00:11:09

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] loop: clean up grammar in warning message

On Tue, 8 Feb 2022 11:46:56 +0000, Colin Ian King wrote:
> The phrase "has still" should be "still has" to clean up the grammar.
>
>

Applied, thanks!

[1/1] loop: clean up grammar in warning message
commit: 65f43c6791944393139078ac853423ed98cca3ad

Best regards,
--
Jens Axboe