diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 5c4afe652245a9d045825f26f3ad3dbe0a06e13a..e3c748faf2dbcd14ceafb13c6353479e6b072eb9 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -1093,6 +1093,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent) brelse(bh); failed_sbi: sb->s_fs_info = NULL; + kfree(sbi->s_blockgroup_lock); kfree(sbi); return ret; }