From: [EMAIL PROTECTED]


super.c vfree() checking cleanups.

Signed-off by: James Lamanna <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
---
 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));

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to