diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-22 19:47:33 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-23 17:46:54 +0300 |
commit | 50855427c25426afbd98e9b4b00cb4a383614d88 (patch) | |
tree | 6c6ad41add943d01559aa80c9a156325e6481466 /tools/perf/scripts/python | |
parent | c07f018bc094c5f30cb827ec9f11a23ace3435ec (diff) | |
download | linux-50855427c25426afbd98e9b4b00cb4a383614d88.tar.xz |
xfs: refactor name/length checks in xfs_attri_validate
Move the name and length checks into the attr op switch statement so
that we can perform more specific checks of the value length. Over the
next few patches we're going to add new attr op flags with different
validation requirements.
While we're at it, remove the incorrect comment.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions