Commit 8a646d3b authored by Li Lingfeng's avatar Li Lingfeng
Browse files

fs: Fix syntax issues in comments and print statements.

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: default avatarLi Lingfeng <lilingfeng3@huawei.com>
parent bcec4836
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);