Christoph Hellwig f49af061f4 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>
2024-04-23 07:46:55 -07:00
..
2024-04-15 14:58:58 -07:00
2024-04-15 14:58:53 -07:00
2024-03-13 13:52:24 -07:00
2024-04-22 18:00:47 +05:30
2024-04-22 18:00:47 +05:30
2024-04-22 12:51:43 +05:30
2024-04-15 14:59:02 -07:00
2024-04-23 07:46:50 -07:00
2024-04-22 18:00:47 +05:30
2024-04-23 07:46:50 -07:00