From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C74EB672; Mon, 8 Jan 2024 23:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="mQBGoEXb" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9jvC0ZseLyZgnJyGaQkGzxAFiwtUf83guqMQ4grVe94=; b=mQBGoEXbf54zNBQdFS06MzrkdA lXxnEANfpQxtRGBUbocCKLxl3268+HSTslshaDre0Mam8GaS8v7n9LVURGM7exKr0nnUlM1LF24S5 TqP6RanW/Hsg252imdkyEcszPkGctZs1/qPQOZCaYowXP9pYO5qAlMprjCWGYElxyhcCY9HMU1b5Q CmPFhwmBDXeO+9d9nZe5CWjmN4+f/6gQv6fEi6jmuL8UaqoEfTOTAaHwUIbLXwCZ/Se9crw4y/m/U E7ZFyiExS0o0iA/1CCvrljXMyEBZr9IjdoI9NKcguRqaryBwU1TrfXdxb6jasX0Sj2WIvvQ2iPwcX BOlLqjSQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rMyr6-008kQd-Ve; Mon, 08 Jan 2024 23:16:29 +0000 Date: Mon, 8 Jan 2024 23:16:28 +0000 From: Matthew Wilcox To: David Howells Cc: Lukas Bulwahn , linux-cachefs@redhat.com, linux-fsdevel , Linux Kernel Mailing List Subject: Re: Reference to non-existing CONFIG_NETFS_FSCACHE Message-ID: References: <1542013.1704750095@warthog.procyon.org.uk> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1542013.1704750095@warthog.procyon.org.uk> On Mon, Jan 08, 2024 at 09:41:35PM +0000, David Howells wrote: > netfs_writepages_begin() has the wait on the fscache folio conditional on > CONFIG_NETFS_FSCACHE - which doesn't exist. > > Fix it to be conditional on CONFIG_FSCACHE instead. Why is it conditional at all? Why don't we have a stub function if CONFIG_FSCACHE is not defined?