summaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-07-09 02:29:58 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-07-10 23:29:03 -0400
commitb10a4a9f7695335bd2bb19bffdda7fbefbc6581f (patch)
treeda3e64cb16b4f34bcc25b2155406d31720b5a611 /fs/open.c
parent19f391eb05b8b005f2907ddc8f284487b446abf3 (diff)
downloadlinux-b10a4a9f7695335bd2bb19bffdda7fbefbc6581f.tar.bz2
create_pipe_files(): use fput() if allocation of the second file fails
... just use put_pipe_info() to get the pipe->files down to 1 and let fput()-called pipe_release() do freeing. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions