Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4573134pxb; Sun, 14 Feb 2021 15:52:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQeKMJ+iIksjLERLI+eoCKIYyNuVKspuatGjxo7kLW3Jp2PYoRfd0sTcvAaO5CQZzmmgdE X-Received: by 2002:a17:906:7d4f:: with SMTP id l15mr12809638ejp.95.1613346743328; Sun, 14 Feb 2021 15:52:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613346743; cv=none; d=google.com; s=arc-20160816; b=DetDINRZw1+DYTLw2htp5mJ0qbAtRc2fs6O6P6QIG6Cm/uqZQfqmqeyh7Z0a1WvTix QasN8Y/HjkKGB1V1vlZ558OUcKQfG31cSveyQzqYl+Ad/CKXXut+LQBJMk9c2vvUvRyO FIhjzWFwZY/n5M9yrnAoaMVinrFY0rEtBK0ZabrgPVrjSdZQVN5T7UpoTSgoUjCKsuH1 ENUS81uizJ+/bvuk4zpvIBJfvtI5vCyA7VTM4+7R00TIpEuOY4ZxC6S0MuV/nkSot9sy dfcnU4fNr5J1HsbZUwOdaiexokbMcqcvP3sMKA5WCNZGez9QIkB8pXDh/8PP98mTRKnh sDDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+3B6LVSF1Nf/EH615tPxiFY83bGDjT7cTPYWIOYnXVc=; b=vX6ZY96Bv6Krj9/TKg96+Et2qEdwGvS+ycolU1V2vWrcu4aoQNwBb0tXLap/r2WVkp Sn1wRTsLSovUimfuQ3gSIM9MgppnNQS+wSiLs9vTkYpPiD1NnerHw9lxZQB8RPZItRNK hi3v9DtMCFpdRqFcJg3OFY9du1JoTUUUiEZOv03nVj5bfM45/s8NGTnR7rLm7FWGLBNb +edMWS+ILCEhylc/XaNODpyHaT9sU98TqKzd0jTqLLD84SYenDvVpOEltNYvAmmWqba4 Zey5pHMvgpgCHMzkoGv4iraJmKt9vdTtI9PRAlNRP9O/0Klpa0n7TXS0yjz+PBq+77jx OTrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WjiMcPyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si13182760edx.585.2021.02.14.15.51.59; Sun, 14 Feb 2021 15:52:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=WjiMcPyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229916AbhBNXio (ORCPT + 99 others); Sun, 14 Feb 2021 18:38:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:37776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbhBNXin (ORCPT ); Sun, 14 Feb 2021 18:38:43 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0AB1F64DEA; Sun, 14 Feb 2021 23:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613345882; bh=1mL3FqIW/Z1riGHUFrBcsw/2g74ZNcTC1MqizKwV19w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WjiMcPyCy45EoxTMt1Ljqlw7WOkm8rKVrzJVhNGDlOL4IaJVeE2Nsf88qw/SGnN1c v8/IK8PmVhcj984yYj7dxjy05U/yJKVpSLh3Vf3hsgCyDsJNey3DwcsA4okE0xA731 6Dc+Em0hPRnfEYOkmBU8sDlUzbifSKnzE8DAr8m8IRx36v9YhqJIMQurII6EHxa5br o+dlxGosGEqktna/DQR6VknJCiOIr/y+jqN5w07JcKS6ROJEZW/GgfNibOKvUv2jW6 BkBNQmT1mkvEZ2J30wv8tDzYLPz4hxDSUJG7qMct85rU5eS68XKT+7LnZjMrkFEy1l 2wNtU29qrsNYA== Date: Sun, 14 Feb 2021 15:38:01 -0800 From: "Darrick J. Wong" To: Stephen Rothwell Cc: David Chinner , linux-xfs@vger.kernel.org, Christian Brauner , Christoph Hellwig , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the xfs tree with the pidfd tree Message-ID: <20210214233801.GP7193@magnolia> References: <20210208103348.1a0beef9@canb.auug.org.au> <20210215094131.7b47c1c5@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210215094131.7b47c1c5@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 15, 2021 at 09:41:31AM +1100, Stephen Rothwell wrote: > Hi all, > > On Mon, 8 Feb 2021 10:33:48 +1100 Stephen Rothwell wrote: > > > > Today's linux-next merge of the xfs tree got a conflict in: > > > > fs/xfs/xfs_ioctl.c > > > > between commit: > > > > f736d93d76d3 ("xfs: support idmapped mounts") > > > > from the pidfd tree and commit: > > > > 7317a03df703 ("xfs: refactor inode ownership change transaction/inode/quota allocation idiom") > > > > from the xfs tree. > > > > I fixed it up (see below) and can carry the fix as necessary. This > > is now fixed as far as linux-next is concerned, but any non trivial > > conflicts should be mentioned to your upstream maintainer when your tree > > is submitted for merging. You may also want to consider cooperating > > with the maintainer of the conflicting tree to minimise any particularly > > complex conflicts. Oops, sorry, this email fell off my radar. Your fixup looks good to me; thanks for the reminder. --D > > > > diff --cc fs/xfs/xfs_ioctl.c > > index 3d4c7ca080fb,248083ea0276..000000000000 > > --- a/fs/xfs/xfs_ioctl.c > > +++ b/fs/xfs/xfs_ioctl.c > > @@@ -1280,9 -1275,9 +1280,10 @@@ xfs_ioctl_setattr_prepare_dax > > */ > > static struct xfs_trans * > > xfs_ioctl_setattr_get_trans( > > - struct file *file) > > - struct xfs_inode *ip, > > ++ struct file *file, > > + struct xfs_dquot *pdqp) > > { > > + struct xfs_inode *ip = XFS_I(file_inode(file)); > > struct xfs_mount *mp = ip->i_mount; > > struct xfs_trans *tp; > > int error = -EROFS; > > @@@ -1470,9 -1461,9 +1469,9 @@@ xfs_ioctl_setattr > > > > xfs_ioctl_setattr_prepare_dax(ip, fa); > > > > - tp = xfs_ioctl_setattr_get_trans(file); > > - tp = xfs_ioctl_setattr_get_trans(ip, pdqp); > > ++ tp = xfs_ioctl_setattr_get_trans(file, pdqp); > > if (IS_ERR(tp)) { > > - code = PTR_ERR(tp); > > + error = PTR_ERR(tp); > > goto error_free_dquots; > > } > > > > @@@ -1615,7 -1599,7 +1606,7 @@@ xfs_ioc_setxflags > > > > xfs_ioctl_setattr_prepare_dax(ip, &fa); > > > > - tp = xfs_ioctl_setattr_get_trans(filp); > > - tp = xfs_ioctl_setattr_get_trans(ip, NULL); > > ++ tp = xfs_ioctl_setattr_get_trans(filp, NULL); > > if (IS_ERR(tp)) { > > error = PTR_ERR(tp); > > goto out_drop_write; > > With the merge window about to open, this is a reminder that this > conflict still exists. > > -- > Cheers, > Stephen Rothwell