Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3596439pxb; Sun, 7 Feb 2021 15:37:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0L4WTiSVFzc10JTYsClgsg3vE/qA9TmM1CFytmIezmZr+/x2Tt53uqaDMnCGCOXdxKJiq X-Received: by 2002:a05:6402:34c1:: with SMTP id w1mr14643842edc.147.1612741046308; Sun, 07 Feb 2021 15:37:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612741046; cv=none; d=google.com; s=arc-20160816; b=sRvBEurilUlqnBwubjQ47zTkuZ04uVT6JyLTFPRE9El4rqFuUNwwYDSu0NkMpj9t/D o8y/Ko+E4ac1gz8tnaViAQz870x41oglj6MzQiuG0/50DDiUkTpMyQ9ZhOh19rRmyk7i 4pIagTFIyunh6nmFncc0BkgTc+M1SxY6sxVI2DRIobrvkd5WUFHZYVtAz8VaWM8ARG4r KQgdsy/C0gFQWgkNW2bSxObMfzyWwSPbW7eVuMf1Rljf0Fx68IVDcSutnNt9IJtXkC15 tFQkNeffQq0rAf7ZeUS+YHOzmfxZ164+IMnk1DoirQ9o794+BMB9Bieg02gBm4J5tzrs AP7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=XZSB9MdiX/KlxAtzI9/kDUOFE3g4e9rjtbdeh7Xo/9Q=; b=tWDM4Wi+dnqqcTcl8beVi7Tel0f3TPS59UB5CIY5WJxsJRMDgJ5ZWz91ZV9e1U22xp jVJVbyBHbe0Jbb0o/k9JXnQV8UxdC9qcL7PY5hxBnSSsIvL6P+pv3dsHnm5GM9YaF0B2 IxgPgrVHeLKhc4YV7W9IzDMcGiqtM2AIciqLb+chaELEVMV/ufjxcc/xdsTWy0uJbrw2 M0Ju0GLL4LrcFa7PoAiGfz4WaM3f0wlC79MrBHTgtaEDJ1FhHZDw+2j6gGOyXaZGxo9E wqSLIysHkPkH9tj6zaPywHfcDxBgneb0WCnE3CKKOofLk9/pi83eYKa9blKa2mFgjH+N /O9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=aAzrvbRM; 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 d21si9775861ejy.374.2021.02.07.15.37.02; Sun, 07 Feb 2021 15:37:26 -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=aAzrvbRM; 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 S229766AbhBGXeg (ORCPT + 99 others); Sun, 7 Feb 2021 18:34:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbhBGXee (ORCPT ); Sun, 7 Feb 2021 18:34:34 -0500 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3065C061756; Sun, 7 Feb 2021 15:33:53 -0800 (PST) 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 4DYlpj3RWhz9rx6; Mon, 8 Feb 2021 10:33:49 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1612740830; bh=mUVAHkaKy3IiZ79jVV9e5g/cx4s3Sz9ehM7aiqphm7Y=; h=Date:From:To:Cc:Subject:From; b=aAzrvbRMXZmChzgc90gbY0JnzKbJaxXeV8oCfPNqDXgawaBshYHTrpDNdT3lktjwY J5Mh89e3SZyW8V7+jWqPKp0YPlW5ujxHTOIhngq1ZfG9YSIB+UvErQ7Qq/To9BDNVg Db0IYZ0VHMhrnFS6CRQlGANL10ELfPo9yT1vlBfSDfZYXXvz7E8U4LmZA3ZJ4+FFgm gbcieRCRR/cew5fDjBySzB2fgRttzftwzpd6vmDKHHyuuanC6vexIZNILv9myYBCtW lM96Xvd4cgSQxyUaod5CvYzIPGiFlr+lK8nqW3/YQy6OYtIqR0jrrjrp1IJfH6uf+d bZvjdTxS87htw== Date: Mon, 8 Feb 2021 10:33:48 +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: linux-next: manual merge of the xfs tree with the pidfd tree Message-ID: <20210208103348.1a0beef9@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ksx.y2CT98xmSoyaTgZuwYE"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/ksx.y2CT98xmSoyaTgZuwYE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, 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/quo= ta 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. --=20 Cheers, Stephen Rothwell 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; --Sig_/ksx.y2CT98xmSoyaTgZuwYE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmAgeNwACgkQAVBC80lX 0GwQrwf7BhqxJ3pn3YyKDTWkgQVXqJ4FvUqr3Hdzwap+4rtKbLgi6hW7DF5SPcbk svGdGbmTXwkr/64zSVBQ1K60srd8FdeLIvHxtapJJyjPnDjQgTToUVHf3U5cS3jY S7mU5XKLOdT/FqnO1jBo9IDDuy5lnG9DAOz61GaXVhwJx+FqCgU4vSquhb+PS7Gc Zez50ItYFptvbYGIaMd2IL057WqTk8HQY6OsR6eQO+THUvcqHPamK1JhqZnHA+V6 D4Rdx12ZTKQAeIezgRlLc0PlKaHcBF5MbGTLUjbs7qHCWRCUtfNzgY6PJ00otvVC DyoHntBxbmgHTcnHU6bqi7nQcNkhMw== =wxv3 -----END PGP SIGNATURE----- --Sig_/ksx.y2CT98xmSoyaTgZuwYE--