]> 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)
commitc0e1e61d835e23935b656056c541bad48022b6d0
tree69b0022e0f47a5af7888c7e97459302373bfa338
parent33c5eca81e201226f38d73fbf8c04bc7b1683583
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