summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJames Lamanna <jlamanna@gmail.com>2005-09-10 09:27:16 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 19:06:34 +0200
commitea0e0a4f53a75ed9d0812352c0410f6fc2a0b62a (patch)
treeba843bd282c41e667fba46c672ed6cfb3d8e8377 /fs
parent[PATCH] janitor: ide/ide-cs: replace schedule_timeout() with msleep() (diff)
downloadlinux-ea0e0a4f53a75ed9d0812352c0410f6fc2a0b62a.tar.xz
linux-ea0e0a4f53a75ed9d0812352c0410f6fc2a0b62a.zip
[PATCH] janitor: reiserfs: super.c - vfree() checking cleanups
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/reiserfs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 6951c35755be..44b02fc02ebe 100644
--- 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));