Skip to content

Commit

Permalink
[PATCH] janitor: reiserfs: super.c - vfree() checking cleanups
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jlamanna authored and Linus Torvalds committed Sep 10, 2005
1 parent 2aad5f0 commit ea0e0a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/reiserfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit ea0e0a4

Please sign in to comment.