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: 13515200 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B91B73C469 for ; Tue, 9 Jan 2024 18:01:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YMAtrrms" 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> Precedence: bulk X-Mailing-List: ceph-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 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