diff options
author | Ian Kent <raven@themaw.net> | 2019-11-04 13:58:43 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-05 08:28:26 -0800 |
commit | c0a6791667f81d9b12443f7ed1c7b4602be9e3c9 (patch) | |
tree | 25f0f5d270b87fb862fb4f0e2539120ba530466a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2c6eba31775ba1b4b067b95ccf51a6094715a446 (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 <raven@themaw.net>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions