Fix syntax issues in comments and print statements
v1->v2: Fix syntax issues in comments of the code section that opening an exclusive opened block device for write.
Li Lingfeng (2): fs: Fix syntax issues in comments and print statements. fs: Fix syntax issues in comments
fs/block_dev.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
hulk inclusion category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/I8HWD1
--------------------------------
There are syntax errors in the comments and print statements of the code section that detects opening write opened block devices exclusively, which need to be fixed.
Signed-off-by: Li Lingfeng lilingfeng3@huawei.com --- fs/block_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/block_dev.c b/fs/block_dev.c index a0e4d3ec300e..6389551aa29e 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1669,11 +1669,11 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, void *holder, #ifdef CONFIG_BLK_DEV_DUMPINFO /* * Open an write opened block device exclusively, the - * writing process may probability corrupt the device, + * writing process may probably corrupt the device, * such as a mounted file system, give a hint here. */ if (is_conflict_excl_open(bdev, claiming, mode)) - blkdev_dump_conflict_opener(bdev, "VFS: Open an write opened " + blkdev_dump_conflict_opener(bdev, "VFS: Open a write opened " "block device exclusively"); #endif bd_finish_claiming(bdev, claiming, holder);
hulk inclusion category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/I8HWD1
--------------------------------
There are syntax errors in the comments of the code section that detects opening write opened block devices exclusively and opening an exclusive opened block device for write, which need to be fixed.
Signed-off-by: Li Lingfeng lilingfeng3@huawei.com --- fs/block_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/block_dev.c b/fs/block_dev.c index 6389551aa29e..874e62a51a08 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1668,7 +1668,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, void *holder, spin_lock(&bdev_lock); #ifdef CONFIG_BLK_DEV_DUMPINFO /* - * Open an write opened block device exclusively, the + * Open a write opened block device exclusively, the * writing process may probably corrupt the device, * such as a mounted file system, give a hint here. */ @@ -1683,7 +1683,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, void *holder, spin_lock(&bdev_lock); /* * Open an exclusive opened device for write may - * probability corrupt the device, such as a + * probably corrupt the device, such as a * mounted file system, give a hint here. */ if (bdev->bd_holders ||
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/2911 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/F...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/2911 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/F...