git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a88951
)
minixfs: misplaced checks lead to dentry leak
author
Al Viro
<viro@ZenIV.linux.org.uk>
Wed, 4 Jan 2012 10:51:03 +0000
(10:51 +0000)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 4 Jan 2012 23:03:06 +0000
(15:03 -0800)
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>
No differences found