Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp644301rwp; Wed, 12 Jul 2023 21:09:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHaFJNvI6rQOrp+qf9w4q6zaucOxL0cxNHVREQEpAneeqDs6sJFcPsV3QlIhai7fcS56Xyc X-Received: by 2002:a05:6808:576:b0:3a3:69f1:f982 with SMTP id j22-20020a056808057600b003a369f1f982mr331849oig.31.1689221363424; Wed, 12 Jul 2023 21:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689221363; cv=none; d=google.com; s=arc-20160816; b=N0TWwhSPKyU5mG5tJsf5oxsRyApU5LeuzKbk26ahvOoSnF3WVWZDE/McMwOXiL9b5L ybNGbhP8r/fN/vpeziTs3d/IFlKh9lV0tIm19W2KnWKdp7FvaPsAio2slpiUWHJEzB1B zZ666BvV3dVbjnnQ9eIG11fZlLdxPTUU5av3ZxJtiGdpAaGf0VBnkn94P19/fP+hk3Fr nPzOcMX2m6muDAp0LxPjs7QYpTQOXE3kDX1XjXsNUNiJ8zOPrk/so54PqenoeoXzGAYZ 6PA46he5HYG266eRH1xv36E6qonC5yTPnNm1Fy0D8/ho47Lo7b+tcGRh+8RAES3BvkmP yDLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W0UYXwWjWGda5omCDxw1jAlh390Lk5TbGcfd3nEU6uE=; fh=nmZyTsmztyk380IvEwoWJ6pEKhJ6Nps7FRu2tNkUHY4=; b=0UP8qVPyAoLSctR0TxgL3DWNnhNrFPHhLyABmum2SkWxAWoX9DAVEdeGhIg0iygwgP wmJXCWL0LUrr6R6pWn0GTtBx5gxygAvUzwMROstaiJkmLJ6/bvazAOVvTSk0JHtIpIVs QSGZGsnxe2ue2NxO6lNeBUGT1+wlkJImh8Widgx9QqjgWa+fxe0OvNor/6TFyRCY/lQw KEuVnzg7f3XGy+bsbk3jbNZ09srf6405A/gl8In91ASc7CLmYJopFzbteuymVaRh/N89 DaoPy8XFsp+A0vqZ6YnDKjDXzudYoR96w8PbNsLYCfmjIN2Cl3alXtQWe5CK7pK6EL1u 5EDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=LRqHvclw; 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 s8-20020a637708000000b005579e1fc429si4301368pgc.669.2023.07.12.21.09.10; Wed, 12 Jul 2023 21:09:23 -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=@infradead.org header.s=casper.20170209 header.b=LRqHvclw; 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 S233391AbjGMDzX (ORCPT + 99 others); Wed, 12 Jul 2023 23:55:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232133AbjGMDzW (ORCPT ); Wed, 12 Jul 2023 23:55:22 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F5BB1BF2; Wed, 12 Jul 2023 20:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=W0UYXwWjWGda5omCDxw1jAlh390Lk5TbGcfd3nEU6uE=; b=LRqHvclw5T4FaH8TRmIhenQus/ ki6KdHGC98/kq7B7fdscjEH+dx/6NClTrk+nPnZo2txh+X0ura3Z57FPxOmRqZYaKu1IBBgBp3Stj udId/40CzjMN71gdsy9O489V0KjWEY3t+BDw6lWN2LSPPCsm63yiP3XRiIPA+tlDmsQy0B4CJ8sQA lErTqVmfPayPxj6jzEE1IkakDLp+7G/JhdTBnJ+4ErBpIGFFt78zD34/oRemUcsvy8HOKVxiEXnc8 V8WL/M/E3P4RUIJU69kXS5jJRFWQe4iTfyPOqPenlw+PtcmmnAQICVsH3UnAfg4Ool8Na71sQyvDm NmA+BO0Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qJnQA-00HMrk-Gp; Thu, 13 Jul 2023 03:55:14 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton Cc: "Matthew Wilcox (Oracle)" , 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: [PATCH 4/7] migrate: Use folio_set_bh() instead of set_bh_page() Date: Thu, 13 Jul 2023 04:55:09 +0100 Message-Id: <20230713035512.4139457-5-willy@infradead.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230713035512.4139457-1-willy@infradead.org> References: <20230713035512.4139457-1-willy@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,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 This function was converted before folio_set_bh() existed. Catch up to the new API. Signed-off-by: Matthew Wilcox (Oracle) --- 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