diff options
author | Eric W. Biederman <[email protected]> | 2020-11-20 17:14:19 -0600 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2020-12-10 12:39:32 -0600 |
commit | 1f702603e7125a390b5cdf5ce00539781cfcc86a (patch) | |
tree | ed62c7824115f6c452bf18f24b2f401b6206e020 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | b6043501289ebf169ae19b810a882d517377302f (diff) |
exec: Simplify unshare_files
Now that exec no longer needs to return the unshared files to their
previous value there is no reason to return displaced.
Instead when unshare_fd creates a copy of the file table, call
put_files_struct before returning from unshare_files.
Acked-by: Christian Brauner <[email protected]>
v1: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions