diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-05-22 08:59:48 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-05-22 08:59:48 +0300 |
commit | 4136e38af728eddcab2e51aecde28e94d0782b9b (patch) | |
tree | 4b4628b1635d4f9e2510cf87cf6323b817b10cb6 /fs/xfs/xfs_attr_item.h | |
parent | 500a512c60d132dbffc0233ba22ad067756c0ccd (diff) | |
download | linux-4136e38af728eddcab2e51aecde28e94d0782b9b.tar.xz |
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/xfs_attr_item.h')
-rw-r--r-- | fs/xfs/xfs_attr_item.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_attr_item.h b/fs/xfs/xfs_attr_item.h index c3b779f82adb..cc2fbc9d58a7 100644 --- a/fs/xfs/xfs_attr_item.h +++ b/fs/xfs/xfs_attr_item.h @@ -43,4 +43,7 @@ struct xfs_attrd_log_item { struct xfs_attrd_log_format attrd_format; }; +extern struct kmem_cache *xfs_attri_cache; +extern struct kmem_cache *xfs_attrd_cache; + #endif /* __XFS_ATTR_ITEM_H__ */ |