Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp744921rwl; Fri, 31 Mar 2023 01:33:40 -0700 (PDT) X-Google-Smtp-Source: AKy350ZXzHIKoarus2/DhKXWmBjk1hUqDYkVNHpYKEwNggaQ600Ox6Tt/5lrsZPwH78V4ijYh699 X-Received: by 2002:a05:6a20:4416:b0:d7:3c1a:6c9a with SMTP id ce22-20020a056a20441600b000d73c1a6c9amr5974139pzb.4.1680251620481; Fri, 31 Mar 2023 01:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680251620; cv=none; d=google.com; s=arc-20160816; b=DMF4FBqflQ1SAbWD6CKQrAcq4+V4P6IKq/UwD1SMrBE+KTWtlBUds7Y6SFMnwFeqYm 6awx98UZKBhcgohS1B6oLOoctFSA8W4QWWIkRguFi56EtRPZHUVBfMHwTbnczKBiZ+f2 D/NTwrp45TPtPbMH/OKUybPzgNgu6hPOWgLqj4mJFmUybo4nqRDUXo7E/352aWcYNIdp h1RAwB9elFpH9g972CRpnIvADII3chuzhScU8g6T8/9lsRWj8oAowzeyGEm7XvnYnvHJ gNCa90iEZMMkWtFdsRyaOFHF4r+5/tPf1fBM6pDBS0XMw3zHCxskAlNiBSsVViP+S2PA 0vSA== 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 :message-id:date:subject:cc:to:from; bh=k/6ep9MMfxmdhcIXTV9erMNspxkSmBJF4WuXB4C+R5M=; b=AWQrHe8ZyeRQiJYvUv3NZDqrpch4Il6Ho1Cpk6vgybHm9CKm5fnsecloDfjXAElwqZ 1s4B0yKY/riBQ6+cpIDvsxjhODR2iAINTC/9GYbga7NahLYfy7GdGrCZMu0RqLtQqr3c 16tKSUOc5vOjtaDLeGX5V8kWmMxGSkA0zVLxMiRysgIE/djM8kP54IuJ3qwdV0F/tuiI BHc4BbAVUUNK5OICTItCMOQG7q/UX1/bRjabvNU1zTYoWo083LPLZIFs4dROxFhekzW1 LV4GS60Iu7vkWGUAhxNcI6nTi3YRKN1SQfPyxFKCx8bG987di7o+/Mi98aZ7H31xv5qe OWyw== 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 m2-20020a656a02000000b004fb7e7ef77fsi1913432pgu.536.2023.03.31.01.33.27; Fri, 31 Mar 2023 01:33:40 -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; 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 S231228AbjCaI0H (ORCPT + 99 others); Fri, 31 Mar 2023 04:26:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231293AbjCaIZx (ORCPT ); Fri, 31 Mar 2023 04:25:53 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C010A1D84F; Fri, 31 Mar 2023 01:25:43 -0700 (PDT) Received: from dggpemm500001.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4PntZ63ZxnzgZTg; Fri, 31 Mar 2023 16:22:22 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 31 Mar 2023 16:25:41 +0800 From: Kefeng Wang To: Luis Chamberlain CC: , Andrew Morton , , Alexander Viro , Christian Brauner , Kefeng Wang Subject: [PATCH] fs: fix sysctls.c built Date: Fri, 31 Mar 2023 16:45:02 +0800 Message-ID: <20230331084502.155284-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 'obj-$(CONFIG_SYSCTL) += sysctls.o' must be moved after "obj-y :=", or it won't be built as it is overwrited. Fixes: ab171b952c6e ("fs: move namespace sysctls and declare fs base directory") Signed-off-by: Kefeng Wang --- fs/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/Makefile b/fs/Makefile index 05f89b5c962f..8d4736fcc766 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -6,7 +6,6 @@ # Rewritten to use lists instead of if-statements. # -obj-$(CONFIG_SYSCTL) += sysctls.o obj-y := open.o read_write.o file_table.o super.o \ char_dev.o stat.o exec.o pipe.o namei.o fcntl.o \ @@ -50,7 +49,7 @@ obj-$(CONFIG_FS_MBCACHE) += mbcache.o obj-$(CONFIG_FS_POSIX_ACL) += posix_acl.o obj-$(CONFIG_NFS_COMMON) += nfs_common/ obj-$(CONFIG_COREDUMP) += coredump.o -obj-$(CONFIG_SYSCTL) += drop_caches.o +obj-$(CONFIG_SYSCTL) += drop_caches.o sysctls.o obj-$(CONFIG_FHANDLE) += fhandle.o obj-y += iomap/ -- 2.35.3