projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/fs/super.c
b/fs/super.c
index a9dc4c33ef4dd6d1c1e2aa3ffda48192ce0967d5..1943fdf655faca2d3d1810cca8b36ac80c9d3593 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);