projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6c1fb
)
NULL noise in fs/super.c:kill_bdev_super()
author
H Hartley Sweeten
<hartleys@visionengravers.com>
Thu, 30 Apr 2009 00:14:57 +0000
(20:14 -0400)
committer
Al 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
patch
|
blob
|
history
diff --git
a/fs/super.c
b/fs/super.c
index
a9dc4c3
..
1943fdf
100644
(file)
--- 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);