]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: use helpers to extract xattr op from opflags
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:44 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:02 +0000 (17:01 -0700)
commit1bb90def4024e861df18726c787c24149838fa9d
tree292c1953aff51ba46acd8eaa80431ccbadee1a3f
parentfc63a9f25a04420cfd601c068ed45aec32f05c4e
xfs: use helpers to extract xattr op from opflags

Source kernel commit: 2a2c05d013d0562076ec475a6deb0991ce1942ca

Create helper functions to extract the xattr op from the ondisk xattri
log item and the incore attr intent item.  These will get more use in
the patches that follow.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_attr.h