diff options
author | Christoph Hellwig <hch@lst.de> | 2024-04-22 19:47:36 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-23 17:46:55 +0300 |
commit | f49af061f49c004fb6df7f791f39f9ed370f767b (patch) | |
tree | 25e0d1740db3b617bf78acb654e0aad6dec8dd28 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 63211876ced33fbb730f515e8d830de53533fc82 (diff) | |
download | linux-f49af061f49c004fb6df7f791f39f9ed370f767b.tar.xz |
xfs: check the flags earlier in xfs_attr_match
Checking the flags match is much cheaper than a memcmp, so do it early
on in xfs_attr_match, and also add a little helper to calculate the
match mask right under the comment explaining the logic for it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions