summaryrefslogtreecommitdiff
path: root/fs/super.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-04-29 20:14:57 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2009-05-09 10:49:41 -0400
commitddbaaf3024d764ced700efb2d818709b90ea6fdd (patch)
treee8f3f970bb8a009a3847b6beba144016df8bbe4d /fs/super.c
parentdb6c1fbb92eeb4cb52c6133e0c533602f49fc4bd (diff)
downloadlwn-ddbaaf3024d764ced700efb2d818709b90ea6fdd.tar.gz
lwn-ddbaaf3024d764ced700efb2d818709b90ea6fdd.zip
NULL noise in fs/super.c:kill_bdev_super()
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Subrata Modak <subrata@linux.vnet.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c2
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)
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);