From patchwork Tue Jan 9 18:01:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 13515190 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 739D8C46CD2 for ; Tue, 9 Jan 2024 18:01:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0D5526B0088; Tue, 9 Jan 2024 13:01:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 085EA6B008A; Tue, 9 Jan 2024 13:01:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E68056B008C; Tue, 9 Jan 2024 13:01:32 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id D2C676B0088 for ; Tue, 9 Jan 2024 13:01:32 -0500 (EST) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 96E4A809A9 for ; Tue, 9 Jan 2024 18:01:32 +0000 (UTC) X-FDA: 81660540024.26.1C82B68 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf15.hostedemail.com (Postfix) with ESMTP id 7C75EA002F for ; Tue, 9 Jan 2024 18:01:30 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=YMAtrrms; spf=pass (imf15.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1704823290; a=rsa-sha256; cv=none; b=urqm5HlT4iE4dvDa0Zk66b/Sdpje0SgOj38SJvOLIa+c2Xneoj5Hn9toaVgp5RZhf3sjmb 7a93b07VFKlven3Y1Wd7hBu5S5EIh33Wnf2hWwFZMZR1yaHltJKiTMkvrW+5wEMaWm+nNY BdtCg94VwSID8hvQoMtqW4VkrF6FLoQ= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=YMAtrrms; spf=pass (imf15.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1704823290; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=4rPNlP6PBry4nxR9lAPdbGmX8a9PuS5yG2z2I/UMBB8=; b=xYQJwwg+Z0WITRaFr4wyvOEZqpu/iPyBmadLtDKmHPpH/0nDVIRtPwYYamAK30lQLq9u5L eXVVkmi9xyj3pDBRM+WwkP1BBCNAFApM58oNCh9aLbh3P5p46VwIGsvtAonz8+kXyCd4H9 Gpb9RHLK008do49jO8KHGZg4uxH1+Zw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704823289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4rPNlP6PBry4nxR9lAPdbGmX8a9PuS5yG2z2I/UMBB8=; b=YMAtrrmsrzrmIrDcyEnNIJ6UDBP40bRliFO1+Gp8fqUJbD8xqQG+yqWQt1W28bXIMzTyOE y/J+Fil2DT1SHrq6SOpdlh+oRjwW8U+8Kqo3ccuIZimxO3O884F31zK+YAW1Yo7lJkPmnP sCWN1fX8p+z0C2s3ZdAKhahfOATJnvM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-602-8EMcpOkJM7mLdtUraGzNaQ-1; Tue, 09 Jan 2024 13:01:27 -0500 X-MC-Unique: 8EMcpOkJM7mLdtUraGzNaQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ADDF5800074; Tue, 9 Jan 2024 18:01:25 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id CAA253C39; Tue, 9 Jan 2024 18:01:22 +0000 (UTC) From: David Howells To: Christian Brauner , Jeff Layton , Gao Xiang , Dominique Martinet Cc: David Howells , Steve French , Matthew Wilcox , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] netfs, afs, erofs, cifs: Don't use certain internal folio_*() functions Date: Tue, 9 Jan 2024 18:01:11 +0000 Message-ID: <20240109180117.1669008-1-dhowells@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 7C75EA002F X-Stat-Signature: 8rsheb1kdk7fe4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4pgMmk6koMvv6x7USCcGhQbBQCg28r7eCTJepY1G4W8evt167M48O6Q26ladpFt+eLJanMzK3/Hjwp9E5QuqEk+KtXMxjGAKBt5HmgUK2yDg7kOtBJs/1RDbOl8EtxOE77kbWD1tlrwvR25hNaYf4abXGErjv6f1bUcMSq X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Christian, Willy, Here are some patches that replace the use of folio_index(), folio_mapping() and folio_file_mapping() in some filesystem code. I'll add them to my netfs-lib branch. David David Howells (4): netfs: Don't use certain internal folio_*() functions afs: Don't use certain internal folio_*() functions erofs: Don't use certain internal folio_*() functions cifs: Don't use certain internal folio_*() functions fs/afs/dir.c | 10 +++++----- fs/erofs/fscache.c | 6 +++--- fs/netfs/buffered_read.c | 12 ++++++------ fs/netfs/buffered_write.c | 10 +++++----- fs/netfs/io.c | 2 +- fs/netfs/misc.c | 2 +- fs/smb/client/file.c | 10 +++++----- 7 files changed, 26 insertions(+), 26 deletions(-) Reviewed-by: Jeff Layton