diff options
author | 2024-02-19 07:27:18 +0100 | |
---|---|---|
committer | 2024-02-21 11:36:52 +0530 | |
commit | efc9dc096399c692bd258ec9cdbe6b868a59545a (patch) | |
tree | 6b25763fe4c9c3e04f720b569655fbd924be5fe4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: shmem_file_setup can't return NULL (diff) | |
download | wireguard-linux-efc9dc096399c692bd258ec9cdbe6b868a59545a.tar.xz wireguard-linux-efc9dc096399c692bd258ec9cdbe6b868a59545a.zip |
xfs: use shmem_kernel_file_setup in xfile_create
shmem_kernel_file_setup is equivalent to shmem_file_setup except that it
already sets the S_PRIVATE flag. Use it instead of open coding the
logic.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions