From: Ulrich Drepper Date: Wed, 7 May 2008 03:42:38 +0000 (-0700) Subject: sys_pipe(): fix file descriptor leaks X-Git-Tag: v2.6.26-rc2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba719baeabbff5476eeb91c223e6921ba29e1490;p=pandora-kernel.git sys_pipe(): fix file descriptor leaks Remember to close the files if copy_to_user() failed. Spotted by dm.n9107@gmail.com. Signed-off-by: Ulrich Drepper Cc: DM Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed