You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
xfs: fix xfs_trans slab cache name
commit25dfa65f81upstream. 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:b1231760e4("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> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Acked-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f12968a5a4
commit
7ab7458d7a
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user