aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Kent <[email protected]>2019-11-04 13:58:41 -0800
committerDarrick J. Wong <[email protected]>2019-11-05 08:28:25 -0800
commit3d9d60d9addf6c085dd37703f6307841111f8168 (patch)
tree967d7e96b5ad6acd62b1c80f6e3678305dc78557 /tools/perf/scripts/python
parente1d3d218854659139731a61cf41aa391dcf949b0 (diff)
xfs: dont use XFS_IS_QUOTA_RUNNING() for option check
When CONFIG_XFS_QUOTA is not defined any quota option is invalid. Using the macro XFS_IS_QUOTA_RUNNING() as a check if any quota option has been given is a little misleading so use a simple m_qflags != 0 check to make the intended use more explicit. Also change to use the IS_ENABLED() macro for the kernel config check. Signed-off-by: Ian Kent <[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