diff options
| author | Al Viro <[email protected]> | 2018-07-09 06:29:58 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2018-07-11 03:29:03 +0000 |
| commit | b10a4a9f7695335bd2bb19bffdda7fbefbc6581f (patch) | |
| tree | da3e64cb16b4f34bcc25b2155406d31720b5a611 /fs/file_table.c | |
| parent | turn filp_clone_open() into inline wrapper for dentry_open() (diff) | |
| download | kernel-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
