summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAnthony Iliopoulos <ailiop@suse.com>2021-03-25 11:47:05 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-03-25 16:47:53 -0700
commit25dfa65f814951a33072bcbae795989d817858da (patch)
treee510a2bee68d713af1218b0b140e25250a42eb78 /fs
parent2b92faed551173f065ee2a8cf087dc76cf40303b (diff)
downloadlinux-25dfa65f814951a33072bcbae795989d817858da.tar.gz
linux-25dfa65f814951a33072bcbae795989d817858da.tar.bz2
linux-25dfa65f814951a33072bcbae795989d817858da.zip
xfs: fix xfs_trans slab cache name
Removal of kmem_zone_init wrappers accidentally changed a slab cache name from "xfs_trans" to "xf_trans". Fix this so that userspace consumers of /proc/slabinfo and /sys/kernel/slab can find it again. Fixes: b1231760e443 ("xfs: Remove slab init wrappers") Signed-off-by: Anthony Iliopoulos <ailiop@suse.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 19f58c982781..8d079c5e7099 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1934,7 +1934,7 @@ xfs_init_zones(void)
if (!xfs_ifork_zone)
goto out_destroy_da_state_zone;
- xfs_trans_zone = kmem_cache_create("xf_trans",
+ xfs_trans_zone = kmem_cache_create("xfs_trans",
sizeof(struct xfs_trans),
0, 0, NULL);
if (!xfs_trans_zone)