diff options
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index a9dc4c33ef4d..1943fdf655fa 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -922,7 +922,7 @@ void kill_block_super(struct super_block *sb) | |||
922 | struct block_device *bdev = sb->s_bdev; | 922 | struct block_device *bdev = sb->s_bdev; |
923 | fmode_t mode = sb->s_mode; | 923 | fmode_t mode = sb->s_mode; |
924 | 924 | ||
925 | bdev->bd_super = 0; | 925 | bdev->bd_super = NULL; |
926 | generic_shutdown_super(sb); | 926 | generic_shutdown_super(sb); |
927 | sync_blockdev(bdev); | 927 | sync_blockdev(bdev); |
928 | close_bdev_exclusive(bdev, mode); | 928 | close_bdev_exclusive(bdev, mode); |