Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp96103rdh; Wed, 20 Dec 2023 17:33:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYBL7LiFHL9uxTpLvgqcFW6GFUtvkApZ4paduOtbve6MbEGd9W5S1hzTHoYS9UPR89yfKI X-Received: by 2002:a05:6870:63a8:b0:1fb:75a:77ba with SMTP id t40-20020a05687063a800b001fb075a77bamr663360oap.107.1703122400183; Wed, 20 Dec 2023 17:33:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703122400; cv=none; d=google.com; s=arc-20160816; b=M0xaPrU3cAQcLaZi+i8/1FKLPiktb7I3Eq/7+bRVXn1grHYjUqerMS/FrqZIFkSq6U 4vNLsjS1jaHAXWKZp2bjKYlVQsynUP4kced6k+QD2evQTFTr8qCIpddkG5Q02nkWPF5a v5MvT2r547jgeusTwWBEYZavOe+dJrjHYaz1sCJ5l+MptYMw1YkrDBIbHYB9Sq4X0CFX 0Df4pDIJpy2CH3dzQm9QMYeWJjelogpY8Dz0QfgYsWJuuLLr8Kwef3dnKUFTil07nlLc 6ZJA80RAieS5dZBJl6JB8Bo0P+dbiKmvDJHsucu1hnbSccvwe5pDhtLvLNCoQg7/KMOj EIow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3ZMr2K4ZM51kzwTGCrD3Nr7SGwnJ6/0epE07/0Ggvfg=; fh=oF5QfQseTA5pxlsGu/5b+mNCGNcqn3DxN2/4vidj5Uo=; b=FcAB4RXcnOSbOKF1g7Dm4QWQ5Zb4gbq/oOrr9rGKhjSNViT5pb7k3Atob8aQhPtDhm GQPx2Ar2VS9ZjN9LRBOINkOoA1hf+973VgKpDZkwL3cvRxt+ubAgHZnKoCOc0uUjiLSN mocvsJoF9Eg/H5mwaWRXeOvxtzutX52nHZb74ogRdOSadJ98qV4EdeWxnrobkWc4AP/Q IaVI3H+/gao3xa7dn45aP8b7BuXKmX+3gBwypkw+Bxoj3+lwyDIMWKRUvIyvG8DlS3gX fLFPDnahVjL68FzcMqYNgN52Nxda5GNC67wKCJKB8H/86vLWhhNHxDpi1nUb5tXtWaEi RZeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=oZZWve4Y; spf=pass (google.com: domain of linux-kernel+bounces-7727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7727-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p21-20020a635b15000000b005cd88a35d2fsi667890pgb.786.2023.12.20.17.33.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 17:33:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=oZZWve4Y; spf=pass (google.com: domain of linux-kernel+bounces-7727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7727-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F1D33B2424D for ; Thu, 21 Dec 2023 01:33:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E59DF8F55; Thu, 21 Dec 2023 01:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="oZZWve4Y" X-Original-To: linux-kernel@vger.kernel.org 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 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-kernel@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.