Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3540465pxb; Sun, 20 Feb 2022 23:40:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnw/z8YSrQRUeI+SWBW/SoRsyR5loCNWl2vlYJzcVhqOMeorf6LVlrgRwa3h+OiRWOKGak X-Received: by 2002:aa7:9902:0:b0:4e1:375c:99f6 with SMTP id z2-20020aa79902000000b004e1375c99f6mr18649449pff.44.1645429206425; Sun, 20 Feb 2022 23:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645429206; cv=none; d=google.com; s=arc-20160816; b=NsgQZ3KLfOjV45d0YboXazM3H0+HR69Ins3T9MgXfzLUvFEHvxBeS/yJ9WCPSff5m+ Vd2ozccRIdIJVWP+Yr37ADChUS6zaFZV3lvOi5D5SzCfIfnYogPVQ4CWzRon9F/0pa1D mtPbsN5JWCe0tb/Dz/PvFxpYM/mFw+dpew41QcdhuNGLrgeLggd8isTyYphWCCTIBKXx ssgtuXMdmG3DV5yl5W85ItSpWNWCqQeB854A7FE5xp2F3xBlztW/it8zxdyE5w5D2wMU MC/2H4RUu0sXMnL7MRn9AtcdjIwSVI2mHzunf5UIpDN0aY/N9IQ6H3mfIZ+V/y9yYmFo VGyg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GaY9RR8/kewK74kqjWuhyhIWcCewY20HXotCFkjQtpU=; b=CxNk7htyy0SscAjflLDcidAMDjvlH2XAZt6lkSkTOOeVHeCcSyQG9WZC8AjJ2QCGy5 dmgTfXYEqQE6jfqyEM4ni0tD9SyZIIoMfk94+1yAr+u5vw7bqR84MhkMBZ7bl9f02J2s p6GETDbUNzP8YpWO18+YlP4fNBucX71nQ7aUAEZX0VJpcYqkREWSaVzPxcLsHQgLFM0d jiu9sNwpAhR2A8SbnXGtMRHWmPlD1uGyK485frqIuSQZX/gve9wWqJYd1sZgYii6QGd3 kNAiAV+xSjstkofzYDR7vEC/VotqegTTEIsSIvteoo8lZBinVVD/unYWLOSm0cHGGUva oLJQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4si58050pla.372.2022.02.20.23.39.52; Sun, 20 Feb 2022 23:40:06 -0800 (PST) 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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241777AbiBSJ0k (ORCPT + 99 others); Sat, 19 Feb 2022 04:26:40 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235598AbiBSJ0j (ORCPT ); Sat, 19 Feb 2022 04:26:39 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6121C24CCDC for ; Sat, 19 Feb 2022 01:26:21 -0800 (PST) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4K133j6W4HzbbYP; Sat, 19 Feb 2022 17:21:53 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 19 Feb 2022 17:26:19 +0800 From: Miaohe Lin To: CC: , , , Subject: [PATCH 1/9] mm/z3fold: declare z3fold_mount with __init Date: Sat, 19 Feb 2022 17:25:25 +0800 Message-ID: <20220219092533.12596-2-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220219092533.12596-1-linmiaohe@huawei.com> References: <20220219092533.12596-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 z3fold_mount is only called during init. So we should declare it with __init. Signed-off-by: Miaohe Lin --- mm/z3fold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/z3fold.c b/mm/z3fold.c index b3c0577b8095..e86aafea6599 100644 --- a/mm/z3fold.c +++ b/mm/z3fold.c @@ -345,7 +345,7 @@ static struct file_system_type z3fold_fs = { }; static struct vfsmount *z3fold_mnt; -static int z3fold_mount(void) +static int __init z3fold_mount(void) { int ret = 0; -- 2.23.0