aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_attr.h
diff options
context:
space:
mode:
authorGravatar Darrick J. Wong <djwong@kernel.org> 2022-05-22 15:59:48 +1000
committerGravatar Dave Chinner <david@fromorbit.com> 2022-05-22 15:59:48 +1000
commit4136e38af728eddcab2e51aecde28e94d0782b9b (patch)
tree4b4628b1635d4f9e2510cf87cf6323b817b10cb6 /fs/xfs/libxfs/xfs_attr.h
parentxfs: remove struct xfs_attr_item.xattri_flags (diff)
downloadlinux-4136e38af728eddcab2e51aecde28e94d0782b9b.tar.gz
linux-4136e38af728eddcab2e51aecde28e94d0782b9b.tar.bz2
linux-4136e38af728eddcab2e51aecde28e94d0782b9b.zip
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_attr.h')
-rw-r--r--fs/xfs/libxfs/xfs_attr.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/libxfs/xfs_attr.h b/fs/xfs/libxfs/xfs_attr.h
index f0b93515c1e8..22a2f288c1c0 100644
--- a/fs/xfs/libxfs/xfs_attr.h
+++ b/fs/xfs/libxfs/xfs_attr.h
@@ -558,14 +558,6 @@ int xfs_attr_calc_size(struct xfs_da_args *args, int *local);
void xfs_init_attr_trans(struct xfs_da_args *args, struct xfs_trans_res *tres,
unsigned int *total);
-extern struct kmem_cache *xfs_attri_cache;
-extern struct kmem_cache *xfs_attrd_cache;
-
-int __init xfs_attri_init_cache(void);
-void xfs_attri_destroy_cache(void);
-int __init xfs_attrd_init_cache(void);
-void xfs_attrd_destroy_cache(void);
-
/*
* Check to see if the attr should be upgraded from non-existent or shortform to
* single-leaf-block attribute list.