diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-12-13 03:35:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 12:05:53 -0500 |
commit | 1de241268d7b6bea05d64f9269bf9aa90be49ff1 (patch) | |
tree | c50ef7b5a4480cac82f92c4131d0c7357a86c15b /mm/oom_kill.c | |
parent | 2154227a2c6cf04e28576b59c684123eb0e81958 (diff) |
[PATCH] ncpfs: ensure we free wdog_pid on parse_option or fill_inode failure
This took a little refactoring but now errors are handled cleanly. When
this code used pid_t values this wasn't necessary because you can't
leak a pid_t.
Thanks to Peter Vandrovec for spotting this.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Peter Vandrovec <vandrove@vc.cvut.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions