提交 ddbaaf30 编写于 作者: H H Hartley Sweeten 提交者: Al Viro

NULL noise in fs/super.c:kill_bdev_super()

Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Subrata Modak <subrata@linux.vnet.ibm.com>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 db6c1fbb
...@@ -922,7 +922,7 @@ void kill_block_super(struct super_block *sb) ...@@ -922,7 +922,7 @@ void kill_block_super(struct super_block *sb)
struct block_device *bdev = sb->s_bdev; struct block_device *bdev = sb->s_bdev;
fmode_t mode = sb->s_mode; fmode_t mode = sb->s_mode;
bdev->bd_super = 0; bdev->bd_super = NULL;
generic_shutdown_super(sb); generic_shutdown_super(sb);
sync_blockdev(bdev); sync_blockdev(bdev);
close_bdev_exclusive(bdev, mode); close_bdev_exclusive(bdev, mode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册