diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-12-13 09:35:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 18:05:53 +0100 |
commit | 1de241268d7b6bea05d64f9269bf9aa90be49ff1 (patch) | |
tree | c50ef7b5a4480cac82f92c4131d0c7357a86c15b /block | |
parent | [PATCH] ncpfs: Use struct pid to track the userspace watchdog process (diff) | |
download | linux-1de241268d7b6bea05d64f9269bf9aa90be49ff1.tar.xz linux-1de241268d7b6bea05d64f9269bf9aa90be49ff1.zip |
[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 'block')
0 files changed, 0 insertions, 0 deletions