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 50B968BED; Thu, 21 Dec 2023 01:33:04 +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="oZZWve4Y" 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=3ZMr2K4ZM51kzwTGCrD3Nr7SGwnJ6/0epE07/0Ggvfg=; b=oZZWve4YRYVIqgNSLe8LOCViXd LRUyk7GzurgZpMFQCKdRfagaixj+u7M26bruOAm4G/J0SkBeeGoWJOtXGX8rAb+5brB//aAH6vCRw IsimSTvhNHCfbcOHa5PlIaIwkZFvtgmcMUJeQieBBMIopqjQq5R0MUuMSLs8iIUZ4bcFs0HoYVqIv 689KyaBlMn9O0CvdEkh2+wPgc7kgnQPmY/99rLkRKDJMI6XxYJU70cbpN6QN71nIrueJz91ApuXCS YovE/QwxJbQlvimp2u08ngohjnUUu7V5mbGi5Nal2UK6EnLVGhdOKEl6vP9vmRFpWDK5dHMz+ZLCw EYXAG8TQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rG7vZ-004XUJ-14; Thu, 21 Dec 2023 01:32:45 +0000 Date: Thu, 21 Dec 2023 01:32:44 +0000 From: Matthew Wilcox To: Stephen Rothwell Cc: Christian Brauner , Andrew Morton , David Howells , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the vfs-brauner tree Message-ID: References: <20231221111847.689ea41f@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-next@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: <20231221111847.689ea41f@canb.auug.org.au> On Thu, Dec 21, 2023 at 11:18:47AM +1100, Stephen Rothwell wrote: > I have applied the following merge resolution patch: The merge resolution is correct ... > +++ b/fs/netfs/buffered_write.c > @@ -566,7 +566,7 @@ static void netfs_kill_pages(struct address_space *mapping, > folio_end_fscache(folio); > folio_end_writeback(folio); > folio_lock(folio); > - generic_error_remove_page(mapping, folio_page(folio, 0)); but what Dave wrote here is _not_. Call folio_page() when you need to go back from folio to page for something that is intrinsically page based, like kmap(). This isn't that case. This is an interface that hadn't been converted yet, and specifying &folio->page is the correct way to handle this because it's an indication that there is work here to do before we can call the folio conversion complete. Please be more careful.