diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2012-01-04 10:51:03 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-04 15:03:06 -0800 |
commit | d6042eac44b54dc5c7cb839175eb51dfd03d7633 (patch) | |
tree | b2a1c5878771f4d7a5aada868bdbc7eafc4eba3b /Documentation/acpi | |
parent | 8a88951b5878dc475dcd841cefc767e36397d14e (diff) | |
download | op-kernel-dev-d6042eac44b54dc5c7cb839175eb51dfd03d7633.zip op-kernel-dev-d6042eac44b54dc5c7cb839175eb51dfd03d7633.tar.gz |
minixfs: misplaced checks lead to dentry leak
bitmap size sanity checks should be done *before* allocating ->s_root;
there their cleanup on failure would be correct. As it is, we do iput()
on root inode, but leak the root dentry...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/acpi')
0 files changed, 0 insertions, 0 deletions