ext4: fix failure exits
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Jan 2012 20:53:24 +0000 (15:53 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Jan 2012 20:57:20 +0000 (15:57 -0500)
commit94bf608a18fa4421315275a81c5489734599297a
tree69b0022e0f47a5af7888c7e97459302373bfa338
parent8fdd8c49fe50394fef3e193db27222cb03c2b212
ext4: fix failure exits

a) leaking root dentry is bad
b) in case of failed ext4_mb_init() we don't want to do ext4_mb_release()
c) OTOH, in the same case we *do* want ext4_ext_release()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/super.c