Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1176691pxb; Sun, 21 Feb 2021 14:59:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmxFIGl1XsBSrZmVr1eXYVHDWw9oY1yQbfp+00+x7GOzgh3ih8Uo8K8HhdolQ4rz6oq8aN X-Received: by 2002:a17:906:1a56:: with SMTP id j22mr18680827ejf.80.1613948385719; Sun, 21 Feb 2021 14:59:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613948385; cv=none; d=google.com; s=arc-20160816; b=lu6rM5xVymWBFRMTX4MZipSzMxt2g8Sp0SgNRhZ7El3x79CBe2//RTFiMcxHmaCs9G 5M7ZbqxtBo+CFH8t2LIITaDVoptxawGDKQpdGF4yIiIwQBny7gSwxkJRQvuhQkLIgGr4 hd04vehlzu4jg50JsuotkpUZg3N31+rZs0SPcSj8zLZGLfLV+Lyt0PX7WnNWW5h8Ntzk HOPo5TPXm9oP2Trmf8PGRY9qy0PuBgjRbmcZnMSLtPNY12sJcxMhD5FCawwdz3muzMF9 Nmhg0ytaZxlas3dJCTxQr1kX+nOSWj2G3GvnGqQwQfcdJwr9rMbVwKCki2QdrXYK1J1S QL8w== 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=/B4YLPEIdoR1870eqKMeUsEjwenRnSUyOS5f8aQWvzg=; b=VMg5yuXbidRPD1hdBo0CidlcLzOOUuwFtJQPDK3CHa0gGaPWglpw6cyGoCBKsGVGBr mqJDTvCCUik2J14L18+7c9JKrljBPkUWikHes+wYAYNvjV30qvg4QMS7jfpug0pAON3k 5H6YYFawLlu+2PusPPuO2ReHjaqTQHmWleuSMBcLKCD8/pE3o7wsiOpQO5KiabE9TO4/ 4m0l/0xJAv86O6qwUsGXaifRqXU3U107Cm9ICjlQUxY5pgYYBLXToNyqA03tFvOOu48W gajLOfEXDykFmCd5iQy0UYNM+LXpVDcDfSDDHiTDlRmrNch8tsSvNreSbj4/WhkdPbLv Pj9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Hh6SoziS; 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 dp13si10163418ejc.304.2021.02.21.14.59.23; Sun, 21 Feb 2021 14:59:45 -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=Hh6SoziS; 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 S232063AbhBUW4u (ORCPT + 99 others); Sun, 21 Feb 2021 17:56:50 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:38379 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232059AbhBUW4r (ORCPT ); Sun, 21 Feb 2021 17:56:47 -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 4DkLJh4glwz9sRN; Mon, 22 Feb 2021 09:56:04 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1613948164; bh=mDb9WwHcqGhZ4bPpDkU7BjvQ4JztEbZDcd5OtQn9M60=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Hh6SoziSSNowpGMX3kRkdtK2fRkUhdvZZb+gVDkARtzE2EWm8DzV2J2WK2oDEsF5Q n/MRR+hfzHbAXuSvlZrZ683u6Si/jO20uR1zBPDMekZWrmnEib96bUyRqNjkKrF/CX D48ybrYBPq9bZ7ivsMym8My9ckkCGySlkrbwk7WkAIABhYrix7UBqy4eOx/TxAaLBy dvkz3uskIrBdcXi3lGyaVv++pH+8ryeihLJ0jiPo7bYfCEehHRFUpEmsC48jD8+Ynf UyRlc4a/H2+gU3uiCWUCREajKAJxA46mbdmL0LxaFeK3ZZWcoi/l+JiA6w1UvnrGCM +sZ1wjx7MvDxg== Date: Mon, 22 Feb 2021 09:56:04 +1100 From: Stephen Rothwell To: Christian Brauner Cc: "Darrick J. Wong" , David Chinner , linux-xfs@vger.kernel.org, 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: <20210222095604.1e63eaaf@canb.auug.org.au> In-Reply-To: <20210215094131.7b47c1c5@canb.auug.org.au> References: <20210208103348.1a0beef9@canb.auug.org.au> <20210215094131.7b47c1c5@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/RZeV=9Mhs3FldC0XQDQoHZI"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/RZeV=9Mhs3FldC0XQDQoHZI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Mon, 15 Feb 2021 09:41:31 +1100 Stephen Rothwell = wrote: > > 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: > >=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= /quota 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; =20 >=20 > With the merge window about to open, this is a reminder that this > conflict still exists. This is now a conflict between the pidfd tree and Linus' tree. --=20 Cheers, Stephen Rothwell --Sig_/RZeV=9Mhs3FldC0XQDQoHZI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmAy5QQACgkQAVBC80lX 0Gyt/QgAg6nywpR7+H3R+TIxr7Ww32PrnCqnq3RwYLG+y8N4hMR3B4WPqMR99UWs YljuazspcYx4n/T13b06yVMfmvkgt8xE54nT3vLG4ghv8zLlBu4sCBnii/8+QSak z78WGednA8sVQEdiu2Xd7bXdKczQlcWb7RTjJhSEXnZG+Ru69IjGqyCwam1pshfF wP7gpK3qs3MYpVGfbWow+fYlkcOksoxCmmhclQgwKatV3eYPw7zSxm4UduPcjxEr P+LjOPOk4FvCAo+unHpxi80XOSQUssixgk2+SMa0/mRr9oRVLo/ToyIzRikFcIyS bNT+3+fKJYdEo5bm+II950JLFgjtTw== =Lzdc -----END PGP SIGNATURE----- --Sig_/RZeV=9Mhs3FldC0XQDQoHZI--