aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2023-03-30 06:41:43 -0400
committerChristian Brauner <[email protected]>2023-04-03 09:23:54 +0200
commit364595a6851bf64e1c38224ae68f5dd6651906d1 (patch)
tree65fa876608fb79e96d9928685bffba7a6e172856 /tools/perf/scripts/python/mem-phys-addr.py
parent4f704d9a8352f5c0a8fcdb6213b934630342bd44 (diff)
fs: consolidate duplicate dt_type helpers
There are three copies of the same dt_type helper sprinkled around the tree. Convert them to use the common fs_umode_to_dtype function instead, which has the added advantage of properly returning DT_UNKNOWN when given a mode that contains an unrecognized type. Cc: Chuck Lever <[email protected]> Cc: Phillip Potter <[email protected]> Suggested-by: Christian Brauner <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Message-Id: <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions