aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2018-07-09 06:29:58 +0000
committerAl Viro <[email protected]>2018-07-11 03:29:03 +0000
commitb10a4a9f7695335bd2bb19bffdda7fbefbc6581f (patch)
treeda3e64cb16b4f34bcc25b2155406d31720b5a611 /fs/file_table.c
parentturn filp_clone_open() into inline wrapper for dentry_open() (diff)
downloadkernel-b10a4a9f7695335bd2bb19bffdda7fbefbc6581f.tar.gz
kernel-b10a4a9f7695335bd2bb19bffdda7fbefbc6581f.zip
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 <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions