diff --git a/fs/super.c b/fs/super.c index a9dc4c33ef4dd6d1c1e2aa3ffda48192ce0967d5..1943fdf655faca2d3d1810cca8b36ac80c9d3593 100644 --- a/fs/super.c +++ b/fs/super.c @@ -922,7 +922,7 @@ void kill_block_super(struct super_block *sb) struct block_device *bdev = sb->s_bdev; fmode_t mode = sb->s_mode; - bdev->bd_super = 0; + bdev->bd_super = NULL; generic_shutdown_super(sb); sync_blockdev(bdev); close_bdev_exclusive(bdev, mode);