diff options
author | Christian Brauner <[email protected]> | 2021-03-20 13:26:23 +0100 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2021-03-23 11:15:24 +0100 |
commit | 8e5389132ab429604c1a2459b52f0c849a71cc61 (patch) | |
tree | 07ed2f940b4e014d3812c7442be01db10fd655c0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a65e58e791a1690da8de731c8391816a22f5555c (diff) |
fs: introduce fsuidgid_has_mapping() helper
Don't open-code the checks and instead move them into a clean little
helper we can call. This also reduces the risk that if we ever change
something we forget to change all locations.
Link: https://lore.kernel.org/r/[email protected]
Inspired-by: Vivek Goyal <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Cc: [email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions