diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-12-13 00:35:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 09:05:53 -0800 |
commit | 1de241268d7b6bea05d64f9269bf9aa90be49ff1 (patch) | |
tree | c50ef7b5a4480cac82f92c4131d0c7357a86c15b /fs/ncpfs/mmap.c | |
parent | 2154227a2c6cf04e28576b59c684123eb0e81958 (diff) | |
download | linux-1de241268d7b6bea05d64f9269bf9aa90be49ff1.tar.bz2 |
[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 'fs/ncpfs/mmap.c')
0 files changed, 0 insertions, 0 deletions