aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Kent <[email protected]>2019-11-04 13:58:43 -0800
committerDarrick J. Wong <[email protected]>2019-11-05 08:28:26 -0800
commitc0a6791667f81d9b12443f7ed1c7b4602be9e3c9 (patch)
tree25f0f5d270b87fb862fb4f0e2539120ba530466a /tools/perf/scripts/python
parent2c6eba31775ba1b4b067b95ccf51a6094715a446 (diff)
xfs: refactor suffix_kstrtoint()
The mount-api doesn't have a "human unit" parse type yet so the options that have values like "10k" etc. still need to be converted by the fs. But the value comes to the fs as a string (not a substring_t type) so there's a need to change the conversion function to take a character string instead. When xfs is switched to use the new mount-api match_kstrtoint() will no longer be used and will be removed. Signed-off-by: Ian Kent <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions