Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4565941pxb; Sun, 14 Feb 2021 15:34:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJziriphpqlehqdAH445CVW7j4CQOdQ/S+oyygctc7r/r4l8pXWV565e821LbFPhY5sTC34K X-Received: by 2002:aa7:dc0d:: with SMTP id b13mr13323699edu.170.1613345698137; Sun, 14 Feb 2021 15:34:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613345698; cv=none; d=google.com; s=arc-20160816; b=h7zaNecfvrd/h6wHY5CL19SQ6J/Ak/ANa5U6oaNZ13aW9z0EUc9htPXOJahgneGDXc sfaf22MXigheceI14dQWLSfUNaazJXACNE8RFBs+mF4DQyc7pmThoM5EjJ12vvHmZsPN 7aqMksco2tzyoeBahHo+yHR0kcjyQBLegHsI1lDGTgT8mHJGlfmQXO1YpZ3yCVlW9oFA BeCDdWud4iMyJ34hARRVp0F0k+a5L+V4CC9w1wRIVzP4F6FT4U3ygHf6n9fbjRW3S0Ot 2dKQ67CNYlTu1QjMpbjMOt4KZt8Fqagy425n8tT3mv47dk/w4fM74fYE27YDbNaEzGcJ De4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=EhIzJk6VQEKDPAACLO+hVu5tMFHrCVYrclhiG0yN1gc=; b=IJHC5BrmatfoQtVjF1cmpqMWzsceinjstu2wLQp9JiPPZM6SpFoCV+oemox6RDHpkK +WOzR5D3kiWsyNGhV8gTd19UYflEqdfD6RM1MQfYcTFTEtwePdzPGBAY8+USSMjscSvp nU+uGfEMlsfY4vmKOzd5wcb897ecUz0vgNmuHloRXuC/qyutgKPJ/9ONY2QAUcossd/B pYN+1tswLbN0slZpkQpa76ugqQrJQFSN3xhqGIV5Ulb6YazsUaIwCtNL3k3RlcnGgUKU x1WnsJ1pH5sNY+J2lp1c5kgvVO96d8EQVKkRDktATIGsgVBS5rn9a40zdfMhvllNLru0 StXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Jo7lsxxS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h24si10927351eja.345.2021.02.14.15.34.35; Sun, 14 Feb 2021 15:34:58 -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=@canb.auug.org.au header.s=201702 header.b=Jo7lsxxS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230147AbhBNWmS (ORCPT + 99 others); Sun, 14 Feb 2021 17:42:18 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:57501 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbhBNWmQ (ORCPT ); Sun, 14 Feb 2021 17:42:16 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Df2K841kYz9rx8; Mon, 15 Feb 2021 09:41:32 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1613342493; bh=QLZBeFxDio/kBYUVXICWtsw0jOXBe2K+8pgxtSzlIVs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Jo7lsxxSqfKMkqZOS+H/WoXGH9/HCgqkcmXuvcFy9REyapOoi/gKHyrw5P8WR+vuP lFs1eWNIi5/eCvOo6ZEIIkgJ751PXAeKTuGgVZkkL2KFukbsvwuT/Lz3oK4iHdRFM9 w/P6rKHOMdc1WfZB/l11PjYYpO4el1F+np79X/8lo43u5ahU3hMoaEwVSv8GRPO1eh XH3GPe0Se1r9x9P1fEIY2q6oyGYPnCd8v8OZ4D7eQiF+cp1Y37AMCrfifkODA9zYql NS99rxFymkkfhM5BAJES6TSdojftnn/FbyuCJWuVzZwg7gYVDGR8IHo4Q5VwNXzCxb JI5M3BHK9CE3w== Date: Mon, 15 Feb 2021 09:41:31 +1100 From: Stephen Rothwell To: "Darrick J. Wong" , David Chinner , linux-xfs@vger.kernel.org Cc: 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: <20210215094131.7b47c1c5@canb.auug.org.au> In-Reply-To: <20210208103348.1a0beef9@canb.auug.org.au> References: <20210208103348.1a0beef9@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/6AZ6gwpjRrqFrLqMtudqeMW"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/6AZ6gwpjRrqFrLqMtudqeMW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Mon, 8 Feb 2021 10:33:48 +1100 Stephen Rothwell w= rote: > > Today's linux-next merge of the xfs tree got a conflict in: >=20 > fs/xfs/xfs_ioctl.c >=20 > between commit: >=20 > f736d93d76d3 ("xfs: support idmapped mounts") >=20 > from the pidfd tree and commit: >=20 > 7317a03df703 ("xfs: refactor inode ownership change transaction/inode/q= uota allocation idiom") >=20 > from the xfs tree. >=20 > 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. >=20 > 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 =3D XFS_I(file_inode(file)); > struct xfs_mount *mp =3D ip->i_mount; > struct xfs_trans *tp; > int error =3D -EROFS; > @@@ -1470,9 -1461,9 +1469,9 @@@ xfs_ioctl_setattr > =20 > xfs_ioctl_setattr_prepare_dax(ip, fa); > =20 > - tp =3D xfs_ioctl_setattr_get_trans(file); > - tp =3D xfs_ioctl_setattr_get_trans(ip, pdqp); > ++ tp =3D xfs_ioctl_setattr_get_trans(file, pdqp); > if (IS_ERR(tp)) { > - code =3D PTR_ERR(tp); > + error =3D PTR_ERR(tp); > goto error_free_dquots; > } > =20 > @@@ -1615,7 -1599,7 +1606,7 @@@ xfs_ioc_setxflags > =20 > xfs_ioctl_setattr_prepare_dax(ip, &fa); > =20 > - tp =3D xfs_ioctl_setattr_get_trans(filp); > - tp =3D xfs_ioctl_setattr_get_trans(ip, NULL); > ++ tp =3D xfs_ioctl_setattr_get_trans(filp, NULL); > if (IS_ERR(tp)) { > error =3D PTR_ERR(tp); > goto out_drop_write; With the merge window about to open, this is a reminder that this conflict still exists. --=20 Cheers, Stephen Rothwell --Sig_/6AZ6gwpjRrqFrLqMtudqeMW Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmAppxsACgkQAVBC80lX 0GwZZAf/YbK/41Cdc4yYXPJk1ft3VGQWAqH4hk7tvT+ncycbyk/JAcm+HIvOVByo oQ9kW89RXjF+AQ7RPTYZDUkI6vtauSwR+9TbAEWgMz2hRybCKID0oeBPHttdPFrR kF1lGQivugLXrfJVLUBuxFMEIgSyFPcc9cNsjyncKPM67eTg7iRde/sdf6Y/Aocw YOvcODmDxCgkFZkOyX+UWfz9cRFD7gBXep5MbBKbo70k1Q29kx3bVuyg2JZrAGBU Hgn0i8Frs/WnasKlMAoOQu7HL+02gBXGPYOEI62y6DFCy1K/8aft3zo4kDef6BPi yN8l8EZnPJdCEGWJvmSg/G0rbJX+jA== =dApK -----END PGP SIGNATURE----- --Sig_/6AZ6gwpjRrqFrLqMtudqeMW--