diff options
author | Ulrich Drepper <[email protected]> | 2008-05-06 20:42:38 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-05-08 10:46:56 -0700 |
commit | ba719baeabbff5476eeb91c223e6921ba29e1490 (patch) | |
tree | f3023d34b9ca087412839f6b5937478d49e567ec /fs/jbd2/commit.c | |
parent | c1236d31a1b9fc018b85e15a3e58e3601ddc90ae (diff) |
sys_pipe(): fix file descriptor leaks
Remember to close the files if copy_to_user() failed.
Spotted by [email protected].
Signed-off-by: Ulrich Drepper <[email protected]>
Cc: DM <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions