xfs: move xfs_attr_defer_add to xfs_attr_item.c
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:47:37 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:55 +0000 (07:46 -0700)
commit9713dc88773d066413ae23aa474b13241507a89e
tree5483b4731affbcd3a70e84c3bd3768e841a417dc
parentf49af061f49c004fb6df7f791f39f9ed370f767b
xfs: move xfs_attr_defer_add to xfs_attr_item.c

Move the code that adds the incore xfs_attr_item deferred work data to a
transaction live with the ATTRI log item code.  This means that the
upper level extended attribute code no longer has to know about the
inner workings of the ATTRI log items.

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