diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:44:22 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:44:22 -0800 |
commit | c75f1a2c154979287ee12c336e2b8c3122832bf7 (patch) | |
tree | d6abf1ed6743e28b73e94a15d4c6e0cb37d065ea /fs/xfs/xfs_iomap.c | |
parent | 80284115854e60686b2e0183b31bb303ae69aa8c (diff) |
xfs: add a xattr_entry helper
Add a helper to translate from the item list head to the attr_intent
item structure and use it so shorten assignments and avoid the need for
extra local variables.
Inspired-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
0 files changed, 0 insertions, 0 deletions