[patch 15/16] reiserfs: super.c - vfree() checking cleanups

domen
2005-08-08T22:31:42Z

[-- Attachment #1: vfree-fs_reiserfs_super.patch --]
[-- Type: text/plain, Size: 680 bytes --]

From: jlamanna@gmail.com

super.c vfree() checking cleanups.

Signed-off by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
super.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)

Index: quilt/fs/reiserfs/super.c
===================================================================
--- quilt.orig/fs/reiserfs/super.c
+++ quilt/fs/reiserfs/super.c
@@ -1934,8 +1934,7 @@ static int reiserfs_fill_super(struct su
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));

--