Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp487268rdd; Tue, 9 Jan 2024 10:02:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1bUqXcZflx83JvzvrLm2JxPvtwykrPiKyDlNO/YFQTn9nsfCwmgLNt0HjfnHYjkmNgho1 X-Received: by 2002:a17:906:6154:b0:a2b:1f71:49c9 with SMTP id p20-20020a170906615400b00a2b1f7149c9mr710005ejl.150.1704823351119; Tue, 09 Jan 2024 10:02:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704823351; cv=none; d=google.com; s=arc-20160816; b=tnyhgvHcY0qjN7/eWNFun61bA4yM6gAAM9p8ixptRBo5m20cM0EvCqMPjJ29ECLwe7 eNFhq5gY7Ukq+16ZjSxbdiay3zRMWjWzriGVXJ/uoxdB/FOjMx4oS9J0xtU5K7jh04do myWZetCmNdgqDP80YM0NxnadlDvD4dSRoqBKHBPdRvZFVdV84g4pVB8LahwvmcrvZNIj PEQr1NO8yxU5HbFGWP6mB8UVjXgGNBIi7dYWGZvPWfm94lbv0kNgKiMMmus5GBeczn99 zzTXHSE+1jOKh36/q0vh/5rdFGw7+fw1pFS0ILT3jP5hOABVfFL6iaeVVffr4Be3gBm0 vLAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4rPNlP6PBry4nxR9lAPdbGmX8a9PuS5yG2z2I/UMBB8=; fh=wHeWnRAPvg2xJ56RgmOMhm93PiD0Bj1H5ZiEjecP7fw=; b=RmwL4eZocMIwKBrtBNLtdK2XCtG/nbcVNHSHXkQlYeffRlfpAsXu38i84ztEMFsDh0 KZF3x6+sr8/b2Zoh85jqU+C/yi2MUApekWmCya1VOJ9aYJTQ3cTMF/nPoFxoNbmRH2X+ rSYTZRtPd5OFfgIGZPWwVI1gQBAlo2ZAHEeqpQXyFRVy+sfZOSkfHXUimnT4UaTGm1lx nF9JkRGDJDIEuFHRH7K9Gv3YczSsembqpcWQk0e8EqGDVB+l9fNLZ3PaB/9GEaJyXLx5 pI/cixe+sTy8SlWbHuuM9Vr7LDrCtsQD54WX+5MLgUVwR0u7BbTK+q3WzerMfxlW0TdK 9wlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XpEjjovD; spf=pass (google.com: domain of linux-kernel+bounces-21206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i24-20020a170906091800b00a2827a6c816si986029ejd.835.2024.01.09.10.02.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 10:02:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XpEjjovD; spf=pass (google.com: domain of linux-kernel+bounces-21206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B875B1F25E9C for ; Tue, 9 Jan 2024 18:02:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07CCC3C490; Tue, 9 Jan 2024 18:01:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XpEjjovD" 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 DCDD53C460 for ; Tue, 9 Jan 2024 18:01:32 +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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704823291; 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=XpEjjovDp5nSChpSsXRmyJQZvJlkfYMqZUBAfZ9IT4pH6DPOsCDjuFnHCp6bM6RVKQI/TK M9/ssGmh+ZHFQDYsLeM1P3I1jI52BcORDx4YJliOjJbWhFHnBb7ZLE57jIpEu8gl1B6oKo vswNS86rtEdnx4YIyfJJ7WSLe7lNoz4= 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-)