Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1252944imw; Tue, 5 Jul 2022 06:28:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1spg9H9t6wS8YaS1QOXPxXRS+6ax67gmmPvGTmgO9YvYbKbplInHF0iAmM+XYS72rSj2w3+ X-Received: by 2002:a17:90b:4b8e:b0:1ed:3a07:caad with SMTP id lr14-20020a17090b4b8e00b001ed3a07caadmr43841397pjb.194.1657027721904; Tue, 05 Jul 2022 06:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657027721; cv=none; d=google.com; s=arc-20160816; b=XhY7CohPqWTEl3P0Ary8VZwBsFdIybyNhKwTH2BQKviuiO7CUYcTSN8v/x1R6TtG9K sAuhWjx2f3mdIM+Z5I55NRTaJtifDpR0eHmWoZfiZLJlG+XtIzxXvXsDT9gZmvPzY2Df G2vjMkN0FjEXoCImhadVDtDdKCpq3eruyL3/+7m9pXAKZU5kvn6GeXC4XIK8ftmut+dK c5aV+FftkBgGknJgey2GSeR/Ycmlj6h85COhKKx4IbP6t8PL7ryVcwthlaY9wZuun9Ix zb/Nvhs/14/OOEWzvd9YP8FI1xGebhWsQrG0JFca8RSddQRGwWB2nUGq6VHeSWp2woSa AGZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pLdhBKvr+DJ/iuZMoYVNnoNgDb14OSdAxcafGDwfl6Y=; b=RyUHFOPF1rhwEhJH/syqb5RG+GrQfRauBX5V6br87pSEUV0mKbBmO3hpJbn3vZjY66 fWKbX+9teE/6povPJQoQCozVJNAQIGt0cqIuWQYCwdJuW8BEXn3nec+g7DbL+5reAh1i fkZ3dM0uTOBlKrHOvb/t0l8ehwQwO4omL80VCpkYdVABljzcjqJmP0yF9Sa7dj924XhM w8OssoiL+/4Kn1zoF3AziMwG7UUbF5PG2wqkbYhJ+RG6oEulugjbjwqLiNAJpw/BrRY/ zuV7fRYnmqGwLqHFYvt8aVa0L1rAqUEu6MOY2lRJjrCNKogKXJgShbRNdPXfGvpp0GdI VYwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=o6D+S0fz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi3-20020a17090b1e4300b001ef7e191d66si12500376pjb.11.2022.07.05.06.28.30; Tue, 05 Jul 2022 06:28:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=o6D+S0fz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231717AbiGEMPb (ORCPT + 99 others); Tue, 5 Jul 2022 08:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235185AbiGEMIk (ORCPT ); Tue, 5 Jul 2022 08:08:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D3C18E34; Tue, 5 Jul 2022 05:08:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2810C6196E; Tue, 5 Jul 2022 12:08:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BA24C341C7; Tue, 5 Jul 2022 12:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1657022882; bh=MBJP8763CP6eiBBT5O2UGaORmhp+Lsz7FI9nKnKSilo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o6D+S0fzcZjs5ewYNcNRYwlTaVW9FDP/HdvCEWi6rPvjT4sxqNZRpG0jfqEtreaCU lPnOO/+/MwLZWJJ40S7SXUIsXCpERRVFcMBwYGla588wFn5L2f+kQhPe/CZwosPMMQ oAvv/aR436JDeCJAwf7LBkvxl/6+MkeNDK/+8K+w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anthony Iliopoulos , "Darrick J. Wong" , Amir Goldstein Subject: [PATCH 5.10 45/84] xfs: fix xfs_trans slab cache name Date: Tue, 5 Jul 2022 13:58:08 +0200 Message-Id: <20220705115616.639475839@linuxfoundation.org> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220705115615.323395630@linuxfoundation.org> References: <20220705115615.323395630@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anthony Iliopoulos 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 Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Amir Goldstein Acked-by: Darrick J. Wong Signed-off-by: Greg Kroah-Hartman --- 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)