aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2020-11-20 17:14:19 -0600
committerEric W. Biederman <ebiederm@xmission.com>2020-12-10 12:39:32 -0600
commit1f702603e7125a390b5cdf5ce00539781cfcc86a (patch)
treeed62c7824115f6c452bf18f24b2f401b6206e020 /tools/perf/scripts/python/export-to-postgresql.py
parentexec: Move unshare_files to fix posix file locking during exec (diff)
downloadlinux-dev-1f702603e7125a390b5cdf5ce00539781cfcc86a.tar.xz
linux-dev-1f702603e7125a390b5cdf5ce00539781cfcc86a.zip
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 <christian.brauner@ubuntu.com> v1: https://lkml.kernel.org/r/20200817220425.9389-2-ebiederm@xmission.com Link: https://lkml.kernel.org/r/20201120231441.29911-2-ebiederm@xmission.com Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions