Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp105773pxh; Tue, 9 Nov 2021 07:59:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJypmD096A7WTp11FOFriKUtEsG2rr1Hgey9vV1YmoG63oL/x3fWX9PS1gP0MPTqSW4SgM3h X-Received: by 2002:a92:b00c:: with SMTP id x12mr5675134ilh.37.1636473586862; Tue, 09 Nov 2021 07:59:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636473586; cv=none; d=google.com; s=arc-20160816; b=hdakOUXwIIPABqroEyWZdrxZnzr7bsiX+naCM2vFs2Cg/nhl3WRPfqpI8kxwNg8C7D 3Ygowfp2/d2nqLrZowkdP6cGUe5jlF2LLVt2g39Dtf53RgjF6VOSHPIArEXGWiIrSINd gVo7XxyLSDM9m12z/xWozv1sJl3xLTh4jbagFiZ1wtPrGAS2qRKo5M6KSjJqs3M/qssW JgNFbxLhc7HTKAa7fX+DgnYsmvbktpFiUvAbRJs9ZsSJtX2yi4QUR9btZzxEvJFotAcs WjwqrrA+KFpem7LGyk2Ur9XEoy5owJMfbBjpmNUkdhxcygck9ZHb+aRM+oC26YkJikzI 99Ww== 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 :dkim-signature; bh=Sy1y0UiMgxAYvlwmHMq+D5FA8YC6nzMpWW5stnnL7mE=; b=QSKslhjM3fuion36Y1U7l4rmkj0AE7g9jaR95gAy5iob5CxGkyz3ogtB1uxD1YDUrg Xme63uqdAzKVh2Pm0C5IXR8BlWtWS5Cxq8gf3P5UDNapohQk1Do0zGsdGo3r2gqpTuzZ ERiEvz4j6nP2YS7cnq5hTFguCNZ1GcJ1en2SunsXuxtOKoqYdaiBGj6HCzIoVXkf/0Nb 7GoDW9tHJ3qnoQvp8F6kI17HnCSXruQh+E/i1fSBtfIxZu6d9NPUh5HPm1TpL5/Gcbco M+kBbT3dPXh+uswzOtqi78rFo5soaHyJPrXo5yQG8u7kZ9TcHtWKUjefrq1tNleBHAtl o6Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=gpT3QABX; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si1270542jav.9.2021.11.09.07.59.33; Tue, 09 Nov 2021 07:59:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=gpT3QABX; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244306AbhKIIhi (ORCPT + 99 others); Tue, 9 Nov 2021 03:37:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244215AbhKIIgx (ORCPT ); Tue, 9 Nov 2021 03:36:53 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4602EC061767; Tue, 9 Nov 2021 00:34:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=Sy1y0UiMgxAYvlwmHMq+D5FA8YC6nzMpWW5stnnL7mE=; b=gpT3QABXYlkVO9cfQiVD4lTzsW wpEmY4Z/eRxbkXYSg+JxoHSV++jJ3mKJHMfrn55KL2mcGq383JeE2GT0n04CgdH5G/vt20HeQQaO9 ha8NRcqJ+6vlyLr/9gPdQntTqO6D0qCC+EcTk3/BEguhqZKKy15SmdCTvO76lOOWte1YinTMjYCfi /KdwmZypZoj4wrR5V//D1uQ5lhEQb0sJEsg0xrWwJmOJ7q4ZVu8d8geqMTHzf2XXvKP3vPNMuL8Pr VipJXXXtONrtI41oW3trXzSqrHSuGOwLqYKEYfzEe5AM49EB/C47xpIkPi9qt5n1Z11n3latDwOG8 X+sUDJ5Q==; Received: from [2001:4bb8:19a:7ee7:fb46:2fe1:8652:d9d4] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkMZu-000sFi-W7; Tue, 09 Nov 2021 08:34:04 +0000 From: Christoph Hellwig To: Dan Williams Cc: Mike Snitzer , Ira Weiny , dm-devel@redhat.com, linux-xfs@vger.kernel.org, nvdimm@lists.linux.dev, linux-s390@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-ext4@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: [PATCH 29/29] fsdax: don't require CONFIG_BLOCK Date: Tue, 9 Nov 2021 09:33:09 +0100 Message-Id: <20211109083309.584081-30-hch@lst.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211109083309.584081-1-hch@lst.de> References: <20211109083309.584081-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org The file system DAX code now does not require the block code. So allow building a kernel with fuse DAX but not block layer. Signed-off-by: Christoph Hellwig --- fs/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/Kconfig b/fs/Kconfig index 6d608330a096e..7a2b11c0b8036 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -42,6 +42,8 @@ source "fs/nilfs2/Kconfig" source "fs/f2fs/Kconfig" source "fs/zonefs/Kconfig" +endif # BLOCK + config FS_DAX bool "File system based Direct Access (DAX) support" depends on MMU @@ -89,8 +91,6 @@ config FS_DAX_PMD config FS_DAX_LIMITED bool -endif # BLOCK - # Posix ACL utility routines # # Note: Posix ACLs can be implemented without these helpers. Never use -- 2.30.2