This is a note to let you know that I've just added the patch titled xfs: fix xfs_trans slab cache name to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: xfs-fix-xfs_trans-slab-cache-name.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From foo@baz Mon Jul 4 04:42:02 PM CEST 2022 From: Amir Goldstein <amir73il@xxxxxxxxx> Date: Sun, 3 Jul 2022 08:04:54 +0300 Subject: xfs: fix xfs_trans slab cache name To: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Sasha Levin <sashal@xxxxxxxxxx>, "Darrick J . Wong" <djwong@xxxxxxxxxx>, Leah Rumancik <leah.rumancik@xxxxxxxxx>, Chandan Babu R <chandan.babu@xxxxxxxxxx>, Luis Chamberlain <mcgrof@xxxxxxxxxx>, Adam Manzanares <a.manzanares@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxxxxxx, stable@xxxxxxxxxxxxxxx, Anthony Iliopoulos <ailiop@xxxxxxxx> Message-ID: <20220703050456.3222610-6-amir73il@xxxxxxxxx> From: Anthony Iliopoulos <ailiop@xxxxxxxx> commit 25dfa65f814951a33072bcbae795989d817858da upstream. 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@xxxxxxxx> Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> Acked-by: Darrick J. Wong <djwong@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/xfs/xfs_super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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) Patches currently in stable-queue which might be from amir73il@xxxxxxxxx are queue-5.10/xfs-rename-variable-mp-to-parsing_mp.patch queue-5.10/xfs-fix-xfs_trans-slab-cache-name.patch queue-5.10/xfs-skip-repetitive-warnings-about-mount-options.patch queue-5.10/xfs-use-current-journal_info-for-detecting-transaction-recursion.patch queue-5.10/xfs-update-superblock-counters-correctly-for-lazysbcount.patch queue-5.10/xfs-ensure-xfs_errortag_random_default-matches-xfs_errtag_max.patch queue-5.10/xfs-fix-xfs_reflink_unshare-usage-of-filemap_write_and_wait_range.patch