Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp252335rdd; Tue, 9 Jan 2024 03:08:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9VM3YZSGIHh5+C/SNfMdLnLgjIpe4ZgbuEkrYjDgUpsKwb93P/JUw5ah4EDCa1Dls/4S6 X-Received: by 2002:a37:c40c:0:b0:781:5db9:42c4 with SMTP id d12-20020a37c40c000000b007815db942c4mr5863381qki.147.1704798529576; Tue, 09 Jan 2024 03:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704798529; cv=none; d=google.com; s=arc-20160816; b=X6zi7zY3QleUrq+1SRCMPfZmeElRWi8ZBqqrlgpYCBOoZfjl/lZA1ekQMxb1P+I33E xTAuY/JUylScdF+a8xaVIWQQFio8qiss3YVCWEZxVBY9T4A4/zzWnn0ZVz7kWVdJ0Hdk re0Kg6jPwjF7JkOlAf87LJrdhR5Q3K2pDVUe1UxPA9BPS/jQXA4zUsBrtN0BSGIujHhV mSv++8VHSlLjTnsWtl2wWtoMbxhim6AvIilN69yNKhs4LQQao2VKy5NmNgpyzeaIOU5+ hyJmcLRRZf8JlgR6MU2A7Wp2NtU5p+vtEC+1WZlLI1YMl/yvLTEt14nbTZ1McxZ9ESWo 8EiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:content-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:cc:to:references :in-reply-to:from:organization:dkim-signature; bh=jVq6Bvt43xx2ZZr7NjW5k0lYlPpCHdUkD3QuDPePB8I=; fh=rKd/HKm5u0owWI9P/ygl/0f5YWZp6uiBCbTyoPKBYRw=; b=DasiSBR6oP4SrHBXFQNk6Y81NqkTq4Pljf8oR8HcVL0fRUl/x1x4IMD5NDne8DSW8e y4Cgv3Jqn9wbbuojU+fSHzG+o69gfieC8/vMXICyCEcvfxT5z3lr1rJsQQN6L1DhVXz+ tsgwpoUjUt9FbQvGNVN7a8QSMnmrfQOohRbijNHY6Q6zbROqb7yuSsSZIdC8gkzfjFch SYlIG10j5n9q2hOCXO2gK3PV+/uGfVMno7dJyXNtYW3rIB7eKhJzo+yV4U4TBHGTmvEZ fMtYFXT0eVo2339DpfaTPBtN4mr/Nx1A68TzFpigqe+KN9kJh4Kg4zWUSu0YgM6kLNCN rI+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X1DBZYSY; spf=pass (google.com: domain of linux-kernel+bounces-20741-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s9-20020a05620a0bc900b00781935ebac7si1936704qki.92.2024.01.09.03.08.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 03:08:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20741-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X1DBZYSY; spf=pass (google.com: domain of linux-kernel+bounces-20741-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 54DB31C23C22 for ; Tue, 9 Jan 2024 11:08:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F088836B0A; Tue, 9 Jan 2024 11:08:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="X1DBZYSY" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 D72DA36AE7 for ; Tue, 9 Jan 2024 11:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704798517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jVq6Bvt43xx2ZZr7NjW5k0lYlPpCHdUkD3QuDPePB8I=; b=X1DBZYSYBkJy8jpVpBGxp+1mact9tg9IAURYSqHiyVFusx3ckdDhRvF+OMtITffRegaY1B pVVHfw14MZLfslVUIpnYB4xwGB3R+Z3t3anYsS5W+4OC/o+kt6pjJC6jL+sEjwgY+1Scgu iWFKKHJb1nRUIy29q7wt1GeFkPLCKjk= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-237-tJeXuIr2MX6fcUVVyYDIeQ-1; Tue, 09 Jan 2024 06:08:34 -0500 X-MC-Unique: tJeXuIr2MX6fcUVVyYDIeQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 560381C05151; Tue, 9 Jan 2024 11:08:33 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 83E3740C6EB9; Tue, 9 Jan 2024 11:08:32 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <1542013.1704750095@warthog.procyon.org.uk> To: Matthew Wilcox Cc: dhowells@redhat.com, Lukas Bulwahn , linux-cachefs@redhat.com, linux-fsdevel , Linux Kernel Mailing List Subject: Re: Reference to non-existing CONFIG_NETFS_FSCACHE Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1571879.1704798511.1@warthog.procyon.org.uk> Date: Tue, 09 Jan 2024 11:08:31 +0000 Message-ID: <1571880.1704798511@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 Matthew Wilcox 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? At this point, I'd rather just change the #ifdef and then (hopefully) next cycle get rid of PG_fscache entirely, rendering this unnecessary. David