Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1027931ybv; Wed, 19 Feb 2020 14:24:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzvgM9d9lPit8rU/8A/S7mu72F977Z9MHTTEH1rOAsaZ4vgX8DKfPzM7MduvRxlG+7O+cM3 X-Received: by 2002:a54:4595:: with SMTP id z21mr6244154oib.136.1582151053011; Wed, 19 Feb 2020 14:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582151053; cv=none; d=google.com; s=arc-20160816; b=dXiu6Brxazfo/cFqQmUfMPq8l6QjlPWRjK2zKdKfC46Ao87ZHoOHWmyao6UA6ogEGA /iw0uBvWTAVsayQB2Tum4xc8+2AFAcFTpcY0714OflTEJD80yW8F+Xj9sPRNAjna94sD vifU+tAbAaFFDf04Atc9Txm7ht9YJzvcRPIoAEhGq+BeJAGCOg7Th01+ae4zPCjc7Pf9 zL8rmacxwDjlzVXY0seKV8vBDgpyQTDAt9XhFSb1by8Mnj3bBAQj4EXCvB2JFLKYHWdP Hj/Gaon0EiPxxo56Soy9SCrLiePa4c8XOtLNno8PiRnfiAg9+A6iiiMFkuSJ6QYLsp0o cFag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature; bh=2su3Dy0eyI7kjHuq9g6GOScZRTTMl2zvvPe+378X8ag=; b=Dg1XHkshbfSQ/Krj3pbK99NI95jVUFtSqYN+L0apslLFaVCqJJYUN8mbE6uE7EsR/8 L+lGJuJvzrkW3Dc/OMmD1cK+nqcTvd/UR5N/Dsu2WM06dZgheIYV7re4wDMYMWtJOQCY lVL8ddfxLWBGRyPD7loMs7fxn7ru8IgU4jcAhdacQItu5lNo9ZZNmVSg9CTGRKdOF0ia zLDQq5T33JTNdFCU8DUy4YJo6AbdLnavMSzXX6HPyrLSYJco6zRtFg2ut2Vlv01PE5ow W61lXMBdb6XhBDvy3AWkZ+rCwGnPGneelOTQXjjtO5jzkw65zATomGp28FtWMV9Ox6EX PC2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=MdBwteHm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u13si632497otg.56.2020.02.19.14.24.01; Wed, 19 Feb 2020 14:24:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=MdBwteHm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727849AbgBSWXy (ORCPT + 99 others); Wed, 19 Feb 2020 17:23:54 -0500 Received: from ozlabs.org ([203.11.71.1]:53965 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727082AbgBSWXy (ORCPT ); Wed, 19 Feb 2020 17:23:54 -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 48NC1L4Sm0z9sRG; Thu, 20 Feb 2020 09:23:49 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1582151031; bh=LUDgvdSwYxLSm2ujH88YLkYz8f+r7X9YUZvj7psSYMw=; h=Date:From:To:Cc:Subject:From; b=MdBwteHmzPo3JsgXveNOGoWTVkStnSrYU2WyiPZUaqRRhnZE+FXcXFE9T7qGBIpKo RESFvzDSWiRv7miPSKAggjvJUVvMiXR4PvApMahxIgTiyE7bnF0IK26cwrs2WP+ZED 86/FSVgC5p5zUFo/UiVuGCjdJkIJOwVdBcIzAJ8DPsjstSQycZbXsrUyBfxzuMorOD +yIhOEoe7uNucs5NecgQlp1FLUlw/tuwprJxTl+TKnOHgZhtaH6ad8iGdIp9c+2rj0 k0Yr8yEt63kWrJ2gttii9LJeL/AJXOg/SqfAJQRsJuPWac7/nuD1ka3+sp11gyKQth jfAQP25J2X05A== Date: Thu, 20 Feb 2020 09:23:44 +1100 From: Stephen Rothwell To: David Sterba Cc: Linux Next Mailing List , Linux Kernel Mailing List , Josef Bacik , Nikolay Borisov Subject: linux-next: build failure after merge of the btrfs tree Message-ID: <20200220092344.2a738574@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/HhWZXL8A9/VOX789pJ1LhRS"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/HhWZXL8A9/VOX789pJ1LhRS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the btrfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/btrfs/extent-tree.c: In function 'btrfs_alloc_logged_file_extent': fs/btrfs/extent-tree.c:4425:20: error: passing argument 1 of 'btrfs_pin_ext= ent' from incompatible pointer type [-Werror=3Dincompatible-pointer-types] 4425 | btrfs_pin_extent(fs_info, ins->objectid, ins->offset, 1); | ^~~~~~~ | | | struct btrfs_fs_info * fs/btrfs/extent-tree.c:2609:49: note: expected 'struct btrfs_trans_handle *= ' but argument is of type 'struct btrfs_fs_info *' 2609 | int btrfs_pin_extent(struct btrfs_trans_handle *trans, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ Caused by commit 4e2c2f96e6a3 ("btrfs: Make btrfs_pin_extent take trans handle") interacting with commit bd727173e443 ("btrfs: handle logged extent failure properly") from the btrfs-fixes tree. I have applied the following merge fix patch for today. From: Stephen Rothwell Date: Thu, 20 Feb 2020 09:20:33 +1100 Subject: [PATCH] btrfs: fix for btrfs_pin_extent() API change Signed-off-by: Stephen Rothwell --- fs/btrfs/extent-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 56ad0a4ff5ba..9dcd70cc3ca3 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -4422,7 +4422,7 @@ int btrfs_alloc_logged_file_extent(struct btrfs_trans= _handle *trans, ret =3D alloc_reserved_file_extent(trans, 0, root_objectid, 0, owner, offset, ins, 1); if (ret) - btrfs_pin_extent(fs_info, ins->objectid, ins->offset, 1); + btrfs_pin_extent(trans, ins->objectid, ins->offset, 1); btrfs_put_block_group(block_group); return ret; } --=20 2.25.0 --=20 Cheers, Stephen Rothwell --Sig_/HhWZXL8A9/VOX789pJ1LhRS Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl5NtXAACgkQAVBC80lX 0GxufQf/e3XdeaPJVdcDfX8oGy6W9crlHRnAli6kk/7TKllyFq0an9xB/7Rnq92d A/UKsx2N4nKnKcJ2Stj8hq2zOzb1WpXVsCLniPkVxjY608ih9hm+sF4li/kvW8Z8 5xEPwNEm72AJn/iFt1WqefjNRI4p0QBfL8w/W2CWb5ZllN8wLjcF00rjb/Tjr5Yb niPPgCLjLk0YTmxxOdLuqZxMFRxvOhF+1PDncMByWRAIpCrP/Yfb+zUwzpHITSsJ zmJnR5R+PmRv6PxUwIhfBS75IQnGj/0o7WSD/OrXPV3tOa4YLMWTcYWu6S5T3VUv DjnvCfuDAk7SkbQtfOF4D3V7VLAfDg== =/xZK -----END PGP SIGNATURE----- --Sig_/HhWZXL8A9/VOX789pJ1LhRS--