Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6519689rwb; Wed, 18 Jan 2023 06:16:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXtVTOUroMEqqKZLlAy/wY0jw8E3U7Gwoh5QD49NeU2ZWhveJZcN+HT3KQyZMFLCqw8NQKyY X-Received: by 2002:a17:902:e9cd:b0:194:6627:d7ab with SMTP id 13-20020a170902e9cd00b001946627d7abmr8060870plk.12.1674051380370; Wed, 18 Jan 2023 06:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674051380; cv=none; d=google.com; s=arc-20160816; b=lYub7Xcr4Nx7QXdKd2s07gXu9yax4yFwJSpO3iiaKT4ITgZyqAVUHZePnAdcbamRvE c6JPMFsf9cojKln6TrZHOU/UkC8i57JEKa0h64agFmgsKOn/6cCIlqWKnHtbzO+FnskC WNUYTiptcYIq5g4yppgaa2aMgNGizBifNFnghhoxSlOZj/ANuTKDZ8Wj1S05f7jG19WQ EMSJoUUGhbjUQwt+UgjkApTVnFbVd535gXovX8Un6AcL3GU4jZabRvuJAZ43jP/rssXi o1VUVF9N8yF5ZXupMt/jWxE5qOQxXegh963Ks6ROoScRrHa1YK5tD5GV7xbe/IhQpQQT SSqQ== 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; bh=R+y1aRAi1Q5p2FWSqw26xsXrVejTThXr1WM2j+n/J8o=; b=LMM8+1v71kDIOQPWb2YvvrZTetFNB5flmaJsDaY7hg2q+6yIJenNeakPKfXwgkZ7Ms JkocLVZgJw0DVXeAiRqaEqnb4kiXaUDyRjg7tTR7rN+rI5a/1NLSDOalrHGPbYyhnghm 7u0HTBgWF4q0/Q4X7pC52VChZsXfXwtUtO6KNcCqhKDr/yDBAy2owxJ0NxLd0bZW+z8S K6AQyORrNyKFv2r8ggC1/RhNPjm/Of374I/C7EIv5lWTzlxeRKDaZ63rtiRO4BhATdBo 07BGhXmejQN0tOwg4zjq6qZ61bvOO76C5QWNDQpCqUXzmbWI3IgZqHUvsQ+GaD8X2w6m bNwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=N2bv0Eno; 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 e3-20020a170902744300b001929550b3e4si32841156plt.466.2023.01.18.06.16.06; Wed, 18 Jan 2023 06:16:20 -0800 (PST) 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=N2bv0Eno; 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 S229898AbjAROJz (ORCPT + 99 others); Wed, 18 Jan 2023 09:09:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230301AbjAROJC (ORCPT ); Wed, 18 Jan 2023 09:09:02 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9B6E654D2; Wed, 18 Jan 2023 05:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=R+y1aRAi1Q5p2FWSqw26xsXrVejTThXr1WM2j+n/J8o=; b=N2bv0EnonXAy0DCO5ujuktAarW 0L2uuGshYz0OASni2bYSpQiXsDySyByaCnKiiHQSg6b4zb6P0PeGdWSBomJq4vxzMV2jz/kYLDJNc UuK6BMnvOgwjsQWMAWPC6ek7vZT6qQQucp5X2nEjXK5HkeDBARy95I2qc/mpeQ7pYujXsKDkO+Zec 4b0yvNJRMGoBjoDcj5UUJmBtEo+NdP+mQ9IFZYofW1IYvOTt93vW8ZmgtzuZQN9SYzpJRgKhqKFC+ mUgh9Rg1nwlw2LJ6GKG0srUH2EfhdfgrQbK4Of+ZTDeCbrAJUcqWcpNX2k7a+PEb0F/2H0FlxQS/F 1SCK2PCQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI8p5-0001y4-US; Wed, 18 Jan 2023 13:49:51 +0000 Date: Wed, 18 Jan 2023 13:49:51 +0000 From: Matthew Wilcox To: Christoph Hellwig Cc: Andrew Morton , Hugh Dickins , linux-afs@lists.infradead.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, cluster-devel@redhat.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nilfs@vger.kernel.org Subject: Re: [PATCH 3/9] mm: use filemap_get_entry in filemap_get_incore_folio Message-ID: References: <20230118094329.9553-1-hch@lst.de> <20230118094329.9553-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230118094329.9553-4-hch@lst.de> 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_NONE 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 Wed, Jan 18, 2023 at 10:43:23AM +0100, Christoph Hellwig wrote: > filemap_get_incore_folio wants to look at the details of xa_is_value > entries, but doesn't need any of the other logic in filemap_get_folio. > Switch it to use the lower-level filemap_get_entry interface. > > Signed-off-by: Christoph Hellwig Reviewed-by: Matthew Wilcox (Oracle)