ext4: Free resources in some error path in ext4_fill_super
authorTao Ma <boyu.mt@taobao.com>
Thu, 6 Oct 2011 16:10:11 +0000 (12:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 14:32:25 +0000 (06:32 -0800)
commitf1d8678b90aeaf7a3c5c30cea8a838f54cd5a8bc
tree6cd66afe073a6911b3071e524bc9f9ac0dccf573
parentd631d0d60c31bed15002ac656cbbfba3d6ce99b5
ext4: Free resources in some error path in ext4_fill_super

commit dcf2d804ed6ffe5e942b909ed5e5b74628be6ee4 upstream.

Some of the error path in ext4_fill_super don't release the
resouces properly. So this patch just try to release them
in the right way.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/super.c