Commit b345d884 authored by Li Lingfeng's avatar Li Lingfeng
Browse files

fs: Fix syntax issues in comments

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