From: Jan Blunck on
I spotted the missing kfree() while removing the BKL.

Signed-off-by: Jan Blunck <jblunck(a)suse.de>
---
fs/jfs/super.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/jfs/super.c b/fs/jfs/super.c
index 266699d..a402b7d 100644
--- a/fs/jfs/super.c
+++ b/fs/jfs/super.c
@@ -457,6 +457,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)

if (newLVSize) {
printk(KERN_ERR "resize option for remount only\n");
+ kfree(sbi);
return -EINVAL;
}

--
1.6.4.2

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