diff options
author | Christoph Hellwig <[email protected]> | 2024-04-22 09:47:36 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2024-04-23 07:46:55 -0700 |
commit | f49af061f49c004fb6df7f791f39f9ed370f767b (patch) | |
tree | 25e0d1740db3b617bf78acb654e0aad6dec8dd28 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 63211876ced33fbb730f515e8d830de53533fc82 (diff) |
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 <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions