projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aad5f0
)
[PATCH] janitor: reiserfs: super.c - vfree() checking cleanups
author
James Lamanna
<jlamanna@gmail.com>
Sat, 10 Sep 2005 07:27:16 +0000
(
00:27
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:34 +0000
(10:06 -0700)
super.c vfree() checking cleanups.
Signed-off by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/super.c
patch
|
blob
|
history
diff --git
a/fs/reiserfs/super.c
b/fs/reiserfs/super.c
index 6951c35755beba2502c5e405356a9ff038100189..44b02fc02ebefa3121b2e2956ac4c35fdd1f48ed 100644
(file)
--- a/
fs/reiserfs/super.c
+++ b/
fs/reiserfs/super.c
@@
-1934,8
+1934,7
@@
static int reiserfs_fill_super(struct super_block *s, void *data, int silent)
if (SB_AP_BITMAP(s))
brelse(SB_AP_BITMAP(s)[j].bh);
}
- if (SB_AP_BITMAP(s))
- vfree(SB_AP_BITMAP(s));
+ vfree(SB_AP_BITMAP(s));
}
if (SB_BUFFER_WITH_SB(s))
brelse(SB_BUFFER_WITH_SB(s));