Received: by 2002:a6b:8b52:0:0:0:0:0 with SMTP id n79csp4836906iod; Mon, 2 May 2022 10:09:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0cLyQP0xzeyrFQgu2tMtUrODgebLq7ezjd2QFJxyNW/BS71ipV4sO/wQ/uCe9pPdHyFfN X-Received: by 2002:aa7:8891:0:b0:50d:8ac9:c406 with SMTP id z17-20020aa78891000000b0050d8ac9c406mr12066353pfe.48.1651511343419; Mon, 02 May 2022 10:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651511343; cv=none; d=google.com; s=arc-20160816; b=0SGNBgnqevobzjv6m8TBgY+zeUy97lf5NG2l0Uriy9Kjn3q7GLeqzBwZOI6A2ijR0t Idbhez6aa+QKSi+VWJHGq0/eANxK99G8t4TKVCIFwWGtLWsf/x0LNZzViEpZGpkI4MMS kz20uOmCB06KN0xzlleuLPdD+lNtO4dG3sKJF8h6ZIC/m+emvhTAF2XFwg7o3Pr0xgb+ sJyV2LtRckVoZXJhEuAcoj7YAcbNwH54z0bu5+BR/8wxM94ZJW5yQTbMM0KZhxs2X4uC cTX9MfSE+Kxc+wcVzvAxY/vFrQZ9Aw5s7DOtVbVZFETx9KiuqAbqrPqVn+4agq2auaFK T8Sg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=+dTUFiPSgcPyKn27SG2SzO7pIAPQqql66xRPG3Hmnd0=; b=vEKrmfYhl/O0Bw/5n5T5Q2xJ/V+pu1FPzjSHWoE+udgJrY+9uY7SZ3c1E97Ym89HJ7 631q7WJjOa6FSIiXdsl//zfQq2pMvyeJLE19g6t6WgG2Fs/pl6HASh23F2vz9igTB+He A8GM27UCW/WlmQ4Ej1KNmI88TMECtqauL4mguVwFYKMy8haTBBk+/FM6dD4a5Qrsm/iV Jmx2w8d643gsd4gJCsAemOtIO2kVUKc3i/JVb1svxbN6SaYUa+Itxnp7XdEINv3u3RJi 9KbDT7f8LcGfGkf11hBVrQpyZpLCGvL2EXTZOlikLx0hy4Wp97G2DdWq0KjiG6MYJ9nF +cmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ZS+Jl8aH; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 o64-20020a17090a0a4600b001cba0cee373si18337780pjo.37.2022.05.02.10.06.20; Mon, 02 May 2022 10:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=ZS+Jl8aH; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357760AbiEBFpd (ORCPT + 99 others); Mon, 2 May 2022 01:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230340AbiEBFpd (ORCPT ); Mon, 2 May 2022 01:45:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A643635847; Sun, 1 May 2022 22:42:05 -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: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=+dTUFiPSgcPyKn27SG2SzO7pIAPQqql66xRPG3Hmnd0=; b=ZS+Jl8aHtWueRkdYl6tmmnK5X2 glIsYRJy1nHd7JNVkjdoNq4qALnvkQ2hS1bqXO+rM4QrZP7JnyVz2MFEzBHL1cLtOfWRMgDYRRFQm hVmmSUrVBfkM10IqkO+704tPUauNTMZcevGv6XfYRfZHuKFJVOAzsERzgVC2FZE3woLduVBWNK1iP Kn7lGVu2eUJ+w8PjsBl0i7POFQ7VqO0x31MNEcTMIGAnrR+cmyVz+0IDlOBdQuZhz/kgU/hEZyC7w YV7rA++Ch28bz7UENEAMYAQDe/1XVoij+v4JIOlDjF4yfn3MTZLjhuzGe7mBpVghK9eOpZ1KwvNia dKMv4FDQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlOot-00EYzz-NC; Mon, 02 May 2022 05:42:03 +0000 From: "Matthew Wilcox (Oracle)" To: linux-fsdevel@vger.kernel.org Cc: "Matthew Wilcox (Oracle)" , cluster-devel@redhat.com, linux-mtd@lists.infradead.org, linux-nfs@vger.kernel.org Subject: [PATCH 0/3] Unify filler_t and read_folio Date: Mon, 2 May 2022 06:41:56 +0100 Message-Id: <20220502054159.3471078-1-willy@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,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-nfs@vger.kernel.org I realised there was no good reason for any of the three filesystems which actually use read_cache_page() to pass in something that wasn't a struct file pointer. Indeed, it made each of them more complex. These aren't filesystems I test regularly, so please scrutinise carefully. This is on top of the read_folio() patchset that I posted recently and can be found at git://git.infradead.org/users/willy/pagecache.git for-next Matthew Wilcox (Oracle) (3): jffs2: Pass the file pointer to jffs2_do_readpage_unlock() nfs: Pass the file pointer to nfs_symlink_filler() fs: Change the type of filler_t fs/gfs2/aops.c | 29 +++++++++++------------------ fs/jffs2/file.c | 9 ++++----- fs/jffs2/gc.c | 2 +- fs/jffs2/os-linux.h | 2 +- fs/nfs/symlink.c | 16 ++++++++-------- include/linux/pagemap.h | 6 +++--- mm/filemap.c | 40 ++++++++++++++++++++-------------------- 7 files changed, 48 insertions(+), 56 deletions(-) -- 2.34.1