Unverified Commit 7188c2d1 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2911 Fix syntax issues in comments and print

Merge Pull Request from: @ci-robot 
 
PR sync from: Li Lingfeng <lilingfeng3@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/F7NUGQR4O34Q6NYC4MM5JRDTY6463ZPT/ 
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


-- 
2.31.1
 
https://gitee.com/openeuler/kernel/issues/I8HWD1 
 
Link:https://gitee.com/openeuler/kernel/pulls/2911

 

Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 5af74874 b345d884
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1668,12 +1668,12 @@ 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
		 * writing process may probability corrupt the device,
		 * 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.
		 */
		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);
@@ -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 ||