aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_defer.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-05-22 15:59:48 +1000
committerDave Chinner <david@fromorbit.com>2022-05-22 15:59:48 +1000
commit4136e38af728eddcab2e51aecde28e94d0782b9b (patch)
tree4b4628b1635d4f9e2510cf87cf6323b817b10cb6 /fs/xfs/libxfs/xfs_defer.c
parent500a512c60d132dbffc0233ba22ad067756c0ccd (diff)
xfs: put attr[id] log item cache init with the others
Initialize and destroy the xattr log item caches in the same places that we do all the other log item caches. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_defer.c')
-rw-r--r--fs/xfs/libxfs/xfs_defer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/libxfs/xfs_defer.c b/fs/xfs/libxfs/xfs_defer.c
index ed65f7e5a9c7..ace229c1d251 100644
--- a/fs/xfs/libxfs/xfs_defer.c
+++ b/fs/xfs/libxfs/xfs_defer.c
@@ -873,12 +873,6 @@ xfs_defer_init_item_caches(void)
error = xfs_extfree_intent_init_cache();
if (error)
goto err;
- error = xfs_attri_init_cache();
- if (error)
- goto err;
- error = xfs_attrd_init_cache();
- if (error)
- goto err;
error = xfs_attr_intent_init_cache();
if (error)
goto err;
@@ -893,8 +887,6 @@ void
xfs_defer_destroy_item_caches(void)
{
xfs_attr_intent_destroy_cache();
- xfs_attri_destroy_cache();
- xfs_attrd_destroy_cache();
xfs_extfree_intent_destroy_cache();
xfs_bmap_intent_destroy_cache();
xfs_refcount_intent_destroy_cache();