diff options
| author | Al Viro <[email protected]> | 2012-01-04 10:51:03 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-01-04 23:03:06 +0000 |
| commit | d6042eac44b54dc5c7cb839175eb51dfd03d7633 (patch) | |
| tree | b2a1c5878771f4d7a5aada868bdbc7eafc4eba3b /fs/proc/array.c | |
| parent | ptrace: ensure JOBCTL_STOP_SIGMASK is not zero after detach (diff) | |
| download | kernel-d6042eac44b54dc5c7cb839175eb51dfd03d7633.tar.gz kernel-d6042eac44b54dc5c7cb839175eb51dfd03d7633.zip | |
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 <[email protected]>
Acked-by: Josh Boyer <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
