We forget to free up the space allocated for s_blockgroup_lock in case
of failed mounts.
Below patch fixes up the memory leak.
Signed-off-by: Manish Katiyar <[email protected]>
fs/ext4/super.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 2958f4e..fdc1e12 100644
@@ -2862,6 +2862,7 @@ failed_mount:
sb->s_fs_info = NULL;
On Fri, May 15, 2009 at 12:07:27AM +0530, Manish Katiyar wrote:
> We forget to free up the space allocated for s_blockgroup_lock in case
> of failed mounts.
> Below patch fixes up the memory leak.
Thanks, I've applied the ext2, ext3, and ext4 patches into the patch
queue for submission to Linus at the next merge window.