From patchwork Fri Mar 31 08:45:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 77626 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp411009vqo; Fri, 31 Mar 2023 01:42:24 -0700 (PDT) X-Google-Smtp-Source: AKy350b0e9xWP0IlOP9EJ8OsxAMOZLawY4RC00b6Cau+QdEIeG/4IFPPtveKF/YjwrOIyHaiix/2 X-Received: by 2002:a17:90b:1809:b0:237:bf05:40b with SMTP id lw9-20020a17090b180900b00237bf05040bmr31128886pjb.20.1680252144159; Fri, 31 Mar 2023 01:42:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680252144; cv=none; d=google.com; s=arc-20160816; b=WMn2jXwYOFemMVrOkxC2yM7ROUJEfRh25xxfV6iGZSLk5AS94YSiy/Ts4LFI/GqwXN rqXN4iK7RU2G3ljzwVpYpKy1a7MFsW7ISK7Xf3oRCUulmHheEtRxQSuqpAFeL5h6kRRM hgGFMTJst+4t5GhPMF1bChHCe1nBxsiOTjJ6rZ8H/dL21OBFAfI9Txomppip+erQAUzk VBSShgyHqQo24anCu0JnNieZUP4kmsHMVahuaqZZxmQq4gUaew7d4jA6+/dgW8GkhIqf pqGAwnzOmDLsUsgpEwc3izrDvccosm4mPDyj9KZqf6svYq3O/MaLGzI1UMGCLd7qURLp PrjQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf15-20020a17090b0b0f00b00237413f8c6esi5930259pjb.154.2023.03.31.01.42.11; Fri, 31 Mar 2023 01:42:24 -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 S231422AbjCaI0H (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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761872072596591678?= X-GMAIL-MSGID: =?utf-8?q?1761872072596591678?= '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/