Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp243772iob; Mon, 2 May 2022 18:19:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZtOYlrn1vZwxS1yFHY/et+5zBNkmbUjvksyr9US5PLqM7JjTZ5qEGePa58mEvMG1ne95G X-Received: by 2002:a17:902:c404:b0:15e:9aa2:3abc with SMTP id k4-20020a170902c40400b0015e9aa23abcmr10144438plk.172.1651540745297; Mon, 02 May 2022 18:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651540745; cv=none; d=google.com; s=arc-20160816; b=etU2OCjG+fcPdFEuB4teORrLQBzsCNDc+IIWOOdyAQXhczy/s/Etfrk7TblrRSC1nk GeRpXrqP+znR4F9za8m/JGPqQ5WlmILzuzqiTz1WojIiQhhvp7POF3//YRFDgVT1TYPK +cupRZB6VZ5YVPEma4/FWnsMpNLkTfaAL4yyfTpaW6wZ7mMN5Uc+6BTmT9xJuuySyRp4 lBQ7bx3KXYJ1IoD204TyfT+TK+pH7HPX2rM2ADKxCQ+pQExI5oyXbEIW52oYqWxIOSJ3 bbPM2i/WJJd+Y8KjCC020C0oAZGy0R8CZ1jrPSJnWUpeYsdITuB19q5IhKfe7DUp+DRw 3nhQ== 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=nxcY+wlkmUEFwHJpOpv1mcBXCb0BZLBH2dC8Mvqgl5U=; b=jvJy/muFmGTgFtF868sAFP99uhEaIRBB+TEFRTnNPJV+5ncctWoHJ5d8jc2kmPj3Si yahEKGypWwYfNkfEQFkrK9q1il9WGMMvN01a6CNcnpbs1ZyAHA94F0fXda87zMCzaJ2/ RoioK5PYP12D3SnH6mcuzBHk0Duj/bgFfD1nOVZgd4UnbNAff2fhHrGy8//6LhUKnyrs KhDL+j61S3EYBGha0ioMlxwYYNxnhQ38ixHFVY1ZwJB8oOHEF6RZAojBHFG0GB4xBYrB YQll+JXQwXVQCufrwcCKeeFa1TBB8VKENs+cUe3pqBZJmdl0sAds5vmRT1IzSKcSVy55 JrLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=X372vutK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e11-20020a656bcb000000b0039d1b00cf4asi13706544pgw.604.2022.05.02.18.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:19:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=X372vutK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 626D2427F4; Mon, 2 May 2022 17:58:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358836AbiEBHrK (ORCPT + 99 others); Mon, 2 May 2022 03:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350995AbiEBHrJ (ORCPT ); Mon, 2 May 2022 03:47:09 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 202E72715D; Mon, 2 May 2022 00:43:38 -0700 (PDT) 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 4KsFT26MdJz4xXk; Mon, 2 May 2022 17:43:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1651477416; bh=nxcY+wlkmUEFwHJpOpv1mcBXCb0BZLBH2dC8Mvqgl5U=; h=Date:From:To:Cc:Subject:From; b=X372vutKHx2ANNxVi4FFyKrBjYWazZy8UwGQR7xghPuDkPwHzzbxbcUSsCZClM6c1 tBZy+34TcqoIBuacpadUO7PL8ev7DzVm7Trvzm5b4VdTZf5pepSwc0WcMA14AQ1+Dk iX7HiKzF6wJCYL3oHIV4s70dF7JzpSHXNCDRI+LtttBVuphbZ+2zo0OxtWd5VlSJmL ib3Y1fK/snCg4gQbVcfgfhW3HXdM42ywuJVWbh4voNGI0kB4DmSGj5+d4cmH13HL7i zYTj23KD66K7FZNGgFhvoPSyk7wpSPgMOxXC+H0Nbg+2QPpkt6iGleHr64mJfA4XxP q5DcfEUR3ZoCg== Date: Mon, 2 May 2022 17:43:33 +1000 From: Stephen Rothwell To: Matthew Wilcox , David Sterba Cc: Christoph Hellwig , David Sterba , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the folio tree with the btrfs tree Message-ID: <20220502174305.1cbf7b40@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/jn1Ms63ppBkLEKtFyZNOA4W"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/jn1Ms63ppBkLEKtFyZNOA4W Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the folio tree got conflicts in: fs/btrfs/ctree.h fs/btrfs/inode.c between commit: a3e4d924b41d ("btrfs: move btrfs_readpage to extent_io.c") from the btrfs tree and commit: 5a912a9c68ac ("btrfs: Convert btrfs to read_folio") from the folio tree. I fixed it up (I used the conflicting parts of the above files from the former and applied the below patch) 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. From: Stephen Rothwell Date: Mon, 2 May 2022 17:21:26 +1000 Subject: [PATCH] fix up for "btrfs: move btrfs_readpage to extent_io.c" Signed-off-by: Stephen Rothwell --- fs/btrfs/extent_io.c | 3 ++- fs/btrfs/extent_io.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 5de09556b1c3..aa8905a0d63a 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -3792,8 +3792,9 @@ static int btrfs_do_readpage(struct page *page, struc= t extent_map **em_cached, return ret; } =20 -int btrfs_readpage(struct file *file, struct page *page) +int btrfs_read_folio(struct file *file, struct folio *folio) { + struct page *page =3D &folio->page; struct btrfs_inode *inode =3D BTRFS_I(page->mapping->host); u64 start =3D page_offset(page); u64 end =3D start + PAGE_SIZE - 1; diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 375a721c48eb..4a2205fd189a 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -166,7 +166,7 @@ typedef struct extent_map *(get_extent_t)(struct btrfs_= inode *inode, int try_release_extent_mapping(struct page *page, gfp_t mask); int try_release_extent_buffer(struct page *page); =20 -int btrfs_readpage(struct file *file, struct page *page); +int btrfs_read_folio(struct file *file, struct folio *folio); int extent_write_full_page(struct page *page, struct writeback_control *wb= c); int extent_write_locked_range(struct inode *inode, u64 start, u64 end); int extent_writepages(struct address_space *mapping, --=20 2.35.1 --=20 Cheers, Stephen Rothwell --Sig_/jn1Ms63ppBkLEKtFyZNOA4W Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmJvi6YACgkQAVBC80lX 0GzL2Qf+JmpUJDiYOmb7QWDIaPWWF1+L0XINehDtxVS6WKRPzQn/v6Y3fCLedqxz yAhRgMPY2fcI0I3oCnTLET6rIKgXF+bn6xA4hMHDjSerWKN0qYtFv2QpYs0oIymU mkolecA410LZENlpe9KjlQ0yUaCKnQoey/qAyL3SWOFaQGoLcGSl92Q+2GCx7LR1 /bfmtLcViVDhEi2g245x8PkTz++krGdSTi51hMK03HzbXep8h9s4Qv5uspJSxoYd gheEx+KTBbUjCUEqi7qT7jWrJdeXfgA+DflYtmrTAnI3rzSy+Ix2wkA90iM/FF+7 b7YYTjq5Ol9ZbB+hOxgKcXKx0lCVhg== =HzLx -----END PGP SIGNATURE----- --Sig_/jn1Ms63ppBkLEKtFyZNOA4W--