[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>
This commit is contained in:
parent
2aad5f03d9
commit
ea0e0a4f53
@ -1934,8 +1934,7 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent)
|
|||||||
if (SB_AP_BITMAP(s))
|
if (SB_AP_BITMAP(s))
|
||||||
brelse(SB_AP_BITMAP(s)[j].bh);
|
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))
|
if (SB_BUFFER_WITH_SB(s))
|
||||||
brelse(SB_BUFFER_WITH_SB(s));
|
brelse(SB_BUFFER_WITH_SB(s));
|
||||||
|
Loading…
Reference in New Issue
Block a user