NULL noise in fs/super.c:kill_bdev_super()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 30 Apr 2009 00:14:57 +0000 (20:14 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 May 2009 14:49:41 +0000 (10:49 -0400)
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>
fs/super.c

index a9dc4c33ef4dd6d1c1e2aa3ffda48192ce0967d5..1943fdf655faca2d3d1810cca8b36ac80c9d3593 100644 (file)
@@ -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);