Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4554541rwb; Mon, 31 Jul 2023 08:33:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFdu057EC9BGc3y1kWMNkL4SXzX8EiOMy5r6AL8cU+QF3eT1HTpJekREBr8icyqySu2kVqi X-Received: by 2002:a05:651c:1032:b0:2b9:43a7:376e with SMTP id w18-20020a05651c103200b002b943a7376emr231320ljm.29.1690817629969; Mon, 31 Jul 2023 08:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690817629; cv=none; d=google.com; s=arc-20160816; b=K6bBtXKGuDOBFwBKoLhC/C9jBidMDENAh+wrzNbNyrgi9an5iSTwsmw/hllnnG0lRI 34Sw1X6iPtwAgPm0ah8fxIQ0b1SG4ZVRdovAnsycvLpuO4N7kyVdOmwIgHqfpsZ9bg/R +AKv1WLC943v6H6M2mw9CK5fBefz9pIa+jtjE+mJ8efsMfIwC7qFHvgQZRJUtwEHUwZM RhtzCwdpSnlgslqlQv1qlX99f4Jif+6DNOA+4/qXvJb5aGXQ0dnFnNGYZmP/rQqFQVri AHeN1+W5bWBOA7BfqdMR7Apti1mbPhfVqu4e/X8Ek2siCnsmki9M+IwLsVo2eigDzb+/ ZD1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=dwho/MXbKRpCcua51Z6iAvWEEmHSGnN+iX9Rx/4iTvQ=; fh=cyCIkvK3NvfJBb5hiIJQFx1HPcPkRqCRer95KgtmmR8=; b=jFxH+hbovuZ839NqGZAf2wo3AADuYLiWTxsWkdbFv8vZVIQNaYWXsCIxbE3Yx4M8DD +qXhUnM9DjcCZg2TeGJ/5sUZLKzHAnIMUI4+S4U7DBi4nl9Qk0tjGBLUFLmiQ+jhxv7L A2iLCb1NFgpLfZgWIOsJ9r2v8Nx1tNVD2pgOSNzffKWiubpNpHEAVfNezXFUFvEeSaMD 0XD7eknQSJwnQJFLtWQ6D8W5buYxKOsVY3SOJYo36Hbi6zUbkCVPNkagIDL33HI6n8uz 8zVGaK1M1+dn2j2DXbvMYBV7uXVoXSNRW8qeNMn1zNN/HSwJK4skGO4hMXPqOzRBFrdf AiAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=0svLKFvt; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t25-20020a1709066bd900b00992aa293be8si4360263ejs.204.2023.07.31.08.33.22; Mon, 31 Jul 2023 08:33:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=0svLKFvt; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229379AbjGaOoW (ORCPT + 99 others); Mon, 31 Jul 2023 10:44:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231411AbjGaOoW (ORCPT ); Mon, 31 Jul 2023 10:44:22 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC4B711B; Mon, 31 Jul 2023 07:44:20 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6B6E41F74C; Mon, 31 Jul 2023 14:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1690814659; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dwho/MXbKRpCcua51Z6iAvWEEmHSGnN+iX9Rx/4iTvQ=; b=0svLKFvtUSXdOMe4RMJpVPTb3f9Ry/fD5sEBlrbrD5YhzJQ6c2vjRQQZImP7VH7kaZ1MNS bJI5OjbDXBEf6HgQ6/qORvSFX3g5S4hA5UdvUBgjs60+svGjVVTKEntNQVBq5V2czHVJMo 7S41KSIWnWyB7pxk4pdofRl8Knp+4Zc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1690814659; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dwho/MXbKRpCcua51Z6iAvWEEmHSGnN+iX9Rx/4iTvQ=; b=7R1W4UVHwOh8+aMtjfABCnpQDlobxxPR/6Pq768T5Krbct0KHwUju7bRrrMOSpENSYBTv8 OXytdgw8nabTm7CQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5BCCD133F7; Mon, 31 Jul 2023 14:44:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OQNtFsPIx2S3XwAAMHmgww (envelope-from ); Mon, 31 Jul 2023 14:44:19 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id E4896A069C; Mon, 31 Jul 2023 16:44:18 +0200 (CEST) Date: Mon, 31 Jul 2023 16:44:18 +0200 From: Jan Kara To: "Matthew Wilcox (Oracle)" Cc: Andrew Morton , David Sterba , linux-fsdevel@vger.kernel.org, Pankaj Raghav , Konstantin Komarov , ntfs3@lists.linux.dev, Theodore Tso , Jan Kara , linux-ext4@vger.kernel.org Subject: Re: [PATCH 4/7] migrate: Use folio_set_bh() instead of set_bh_page() Message-ID: <20230731144418.xksm5ieabi6licom@quack3> References: <20230713035512.4139457-1-willy@infradead.org> <20230713035512.4139457-5-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230713035512.4139457-5-willy@infradead.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-ext4@vger.kernel.org On Thu 13-07-23 04:55:09, Matthew Wilcox (Oracle) wrote: > This function was converted before folio_set_bh() existed. Catch > up to the new API. > > Signed-off-by: Matthew Wilcox (Oracle) Looks good. Feel free to add: Reviewed-by: Jan Kara Honza > --- > mm/migrate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/migrate.c b/mm/migrate.c > index af8557d78549..1363053894ce 100644 > --- a/mm/migrate.c > +++ b/mm/migrate.c > @@ -773,7 +773,7 @@ static int __buffer_migrate_folio(struct address_space *mapping, > > bh = head; > do { > - set_bh_page(bh, &dst->page, bh_offset(bh)); > + folio_set_bh(bh, dst, bh_offset(bh)); > bh = bh->b_this_page; > } while (bh != head); > > -- > 2.39.2 > -- Jan Kara SUSE Labs, CR