aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2017-01-17 11:41:43 -0800
committerDarrick J. Wong <[email protected]>2017-01-17 11:41:43 -0800
commit1fc4d33fed124fb182e8e6c214e973a29389ae83 (patch)
treed9b1fe50fada342ee0d7e1eee47c8d79f1741a50 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb597dd5373a1ccc08218665dc8417433b1c09550 (diff)
xfs: replace xfs_mode_to_ftype table with switch statement
The size of the xfs_mode_to_ftype[] conversion table was too small to handle an invalid value of mode=S_IFMT. Instead of fixing the table size, replace the conversion table with a conversion helper that uses a switch statement. Suggested-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions