Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp148557rdh; Mon, 30 Oct 2023 17:26:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGn8R63jzSJ34CCX/Dl1Q9kGX70LeXG+bVG8gwyQHWCE6dCQKOsl902NNQ0uf3I/g3nbPOk X-Received: by 2002:a05:6870:1004:b0:1d0:d78b:982e with SMTP id 4-20020a056870100400b001d0d78b982emr10973041oai.35.1698712016819; Mon, 30 Oct 2023 17:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698712016; cv=none; d=google.com; s=arc-20160816; b=PsFjChGD2W4Om8NXihoU+mmDeHlc98FwpPDXOAC4jxlmwfj/amIqhmfnUwkpUpyInj VcxijCB9UMnqgKN4dUAQmxuz8ja20TsjXmCMUVSKS+M/y+VdkVX2pu+FnyvqmthBJ76a uavfv60xI9KHqdNblOrTzyoeBjCBrx7r3BKedd/kmucrzVRe3r3eExU3VfZ94ZQHx5Fj BeMS6M7tAVlQTwsPiyxLCXBqzdtIUW2wFtrbfSAcKE0uaYayECZq9LDmSGwMLHspOl37 m2i/64qV3kIJ5Dpq3CQaYvAyhrKedE60LuM4NHa0vfRcRMFa5jmxF2sVTD6G9K4OTXf+ 33gg== 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=1IePqRhmp+1YUFYLro87A5z7f9VYNCCPVr9wRpiz1SY=; fh=wkbCIRGEI2WgGfipVE4MbvMv5n1xLd/yz2hIesd0H/s=; b=h0qgkJDQWDgg3KwaoGz/pTKv26cszmcmh9KOjPapH+XI2Kcc2jxc5bDHQZKRgtDvvu Te6VJKGNJyJByiJn+E5ugQNY9wOsmeZumVsvCT0qLz46APJuAxrUlG3Pb7y5Dga4Iowh 0oqJ5K6Zb/y7+kEEaUgZbL6cn+LNQLqXXrORXccImgeDq3h5mBefdr2Uwuy5NA2LhZYc azEl1lomrHwfl3dmTb1ugyAKQALXT3wv/yCfiQYt9Vdm8HPZbRqmLu2MZ7yKf/KU4UPT nEfq2IYK+WzUg5+Cgr+vopW7tTBYUZmQJkyUaifhw2Vcggk6aAqrIJIKLS9hIoqxlV6q J7hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="CpfZ/Bgj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id cl21-20020a056a02099500b005a9c40151b3si210680pgb.804.2023.10.30.17.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 17:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="CpfZ/Bgj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id EC3878051B3C; Mon, 30 Oct 2023 17:26:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236744AbjJaA0d (ORCPT + 99 others); Mon, 30 Oct 2023 20:26:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236728AbjJaA0b (ORCPT ); Mon, 30 Oct 2023 20:26:31 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F885DD; Mon, 30 Oct 2023 17:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1698711986; bh=1IePqRhmp+1YUFYLro87A5z7f9VYNCCPVr9wRpiz1SY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CpfZ/Bgj1mzWwMwsntJssHTZP4tGBA2jnp+syC7ilID2RNM3Mnz1Qu0orctA0F2yX P3Mj7f/f/xnSJxyNsMywkeXawcvEEQLjDVS64d5YcX5RFtspZDW0cWJ/nz7dB/TTBJ wu9qtKkSHrxZQvt1fpNhx7FGZvlcRdSDxLtiiMGJ4zqx/qTV6mc1GUFby+5neLpQ0H 6dpF822dPUCvSiSK62SFr/Egy2lZ33WnabufmGJQuap9WjKVTW8M4Oi4uzDHy3f5/i +VXg4iNNCeA0hWI1YIY29bK3hVQxqh8jFd7jxoKUY53HVTkvKLsf6tNQd0+4HR5BDW kWAZMnD8QbrEA== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SK9tB07kcz4wd4; Tue, 31 Oct 2023 11:26:25 +1100 (AEDT) Date: Tue, 31 Oct 2023 11:26:25 +1100 From: Stephen Rothwell To: Jan Kara Cc: Christian Brauner , Jeff Layton , Linux Kernel Mailing List , Linux Next Mailing List , "Matthew Wilcox (Oracle)" Subject: Re: linux-next: manual merge of the vfs-brauner tree with the ext3 tree Message-ID: <20231031112625.20c86e6f@canb.auug.org.au> In-Reply-To: <20231027104356.3fda2bc9@canb.auug.org.au> References: <20231027104356.3fda2bc9@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/LG7MnJ4fZpzW=HFVvItzezV"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 30 Oct 2023 17:26:54 -0700 (PDT) --Sig_/LG7MnJ4fZpzW=HFVvItzezV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Fri, 27 Oct 2023 10:43:56 +1100 Stephen Rothwell = wrote: >=20 > Today's linux-next merge of the vfs-brauner tree got a conflict in: >=20 > fs/ext2/dir.c >=20 > between commits: >=20 > 1de0736c3af9 ("ext2: Convert ext2_add_link() to use a folio") > 7e56bbf15d95 ("ext2: Convert ext2_delete_entry() to use folios") > 82dd620653b3 ("ext2: Convert ext2_prepare_chunk and ext2_commit_chunk t= o folios") >=20 > from the ext3 tree and commit: >=20 > 5cdc59fce617 ("ext2: convert to new timestamp accessors") >=20 > from the vfs-brauner 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/ext2/dir.c > index 6807df637112,c7900868171b..000000000000 > --- a/fs/ext2/dir.c > +++ b/fs/ext2/dir.c > @@@ -463,9 -466,9 +463,9 @@@ int ext2_set_link(struct inode *dir, st > } > de->inode =3D cpu_to_le32(inode->i_ino); > ext2_set_de_type(de, inode); > - ext2_commit_chunk(page, pos, len); > + ext2_commit_chunk(folio, pos, len); > if (update_times) > - dir->i_mtime =3D inode_set_ctime_current(dir); > + inode_set_mtime_to_ts(dir, inode_set_ctime_current(dir)); > EXT2_I(dir)->i_flags &=3D ~EXT2_BTREE_FL; > mark_inode_dirty(dir); > return ext2_handle_dirsync(dir); > @@@ -551,8 -554,8 +551,8 @@@ got_it > memcpy(de->name, name, namelen); > de->inode =3D cpu_to_le32(inode->i_ino); > ext2_set_de_type (de, inode); > - ext2_commit_chunk(page, pos, rec_len); > + ext2_commit_chunk(folio, pos, rec_len); > - dir->i_mtime =3D inode_set_ctime_current(dir); > + inode_set_mtime_to_ts(dir, inode_set_ctime_current(dir)); > EXT2_I(dir)->i_flags &=3D ~EXT2_BTREE_FL; > mark_inode_dirty(dir); > err =3D ext2_handle_dirsync(dir); > @@@ -605,8 -605,8 +605,8 @@@ int ext2_delete_entry(struct ext2_dir_e > if (pde) > pde->rec_len =3D ext2_rec_len_to_disk(to - from); > dir->inode =3D 0; > - ext2_commit_chunk(page, pos, to - from); > + ext2_commit_chunk(folio, pos, to - from); > - inode->i_mtime =3D inode_set_ctime_current(inode); > + inode_set_mtime_to_ts(inode, inode_set_ctime_current(inode)); > EXT2_I(inode)->i_flags &=3D ~EXT2_BTREE_FL; > mark_inode_dirty(inode); > return ext2_handle_dirsync(inode); This is now a conflict between the ext3 tree and Linus' tree. --=20 Cheers, Stephen Rothwell --Sig_/LG7MnJ4fZpzW=HFVvItzezV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVASbEACgkQAVBC80lX 0GwtGAgAjAhatcpLEdk6kOJP5+j3FG7ZvkbMNGtuieYw+IbDnSRqPdmPm/4bZm0W XzG/aw8xpHbMBSQ9jHsOnIrO9dwzaA4W/3aWSkVh5I9YIDSHpcZsW+iLsEGWAUnb lFEXne7sbGjxdnc2hvkrYFgjpPpKAecc/GCe2uXNsZ+V01wSt71so5HUocRDO07+ q5SGhzFlEoCh7DoekujWoVZWYnwQYPc7E5kU8XujTnNCUfBiBtAaBUUoZiGoQXOw vEqq4K9Irm8CajxlnoXFRoN0KsJCcehxybWN2kbJygjM8CgiCBaeCjBscuzpK0lL 1nAgfCj8VMiCXS7c/+QQFnpfXf9RQA== =t8Hk -----END PGP SIGNATURE----- --Sig_/LG7MnJ4fZpzW=HFVvItzezV--