]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit426ecc4317a1dbf251ebed8ef5d50dee4c6c6d1d
tree69b0022e0f47a5af7888c7e97459302373bfa338
parent727d183f8b0f502d67a6808377e1475b4edafbc5
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