Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78C43C27C76 for ; Wed, 25 Jan 2023 06:58:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232753AbjAYG6s (ORCPT ); Wed, 25 Jan 2023 01:58:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjAYG6q (ORCPT ); Wed, 25 Jan 2023 01:58:46 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6239947403; Tue, 24 Jan 2023 22:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=c8uXROnhoRBxz2QSyG58StOt84hyhilFEryXWBXQrqA=; b=SLY5hqs8d4kVTq5O4IZJ1szl2D PIZhkzjdWvwvObikTtxaQoyRDhpv8G1k9eKbDlHMYkD1OHLyiGR7FIsF3XzfODKYbpsybnETTyjB8 PO2GdostdXuGf9pJNSfb3ugNblrGgXeXFK8JmNQGRscDcR8a1wp6HrJAQjAaGbT6HJj+nvRk/ZPEV rUW4M6kkPfijJBjRrS5ATFP5kD2a6QAt2V3PO8dY5HRmp1gvwvzFqNmvm/9ljypUwwPusUMd53Z2s VQkWYTA2aYFs8qlKG2hGZfTSI8Oo21u2nRuwi4z1hufrA56yLsDQWhWpzP9SKzOAHSH/eTTictx2C E6Nqe4rA==; Received: from [2001:4bb8:19a:27af:97a1:70ca:d917:c407] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKZk2-006Cdx-5F; Wed, 25 Jan 2023 06:58:42 +0000 From: Christoph Hellwig To: Alexander Viro , Andrew Morton Cc: Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: build direct-io.c conditionally Date: Wed, 25 Jan 2023 07:58:37 +0100 Message-Id: <20230125065839.191256-1-hch@lst.de> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this series makes the build of direct-io.c conditional as only about a dozen file systems actually use it. Diffstat: Kconfig | 4 ++++ Makefile | 3 ++- affs/Kconfig | 1 + direct-io.c | 24 ------------------------ exfat/Kconfig | 1 + ext2/Kconfig | 1 + fat/Kconfig | 1 + hfs/Kconfig | 1 + hfsplus/Kconfig | 1 + internal.h | 4 +--- jfs/Kconfig | 1 + nilfs2/Kconfig | 1 + ntfs3/Kconfig | 1 + ocfs2/Kconfig | 1 + reiserfs/Kconfig | 1 + super.c | 24 ++++++++++++++++++++++++ udf/Kconfig | 1 + 17 files changed, 43 insertions(+), 28 deletions(-)