Message ID | 20240109180117.1669008-1-dhowells@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-21206-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp285736dyi; Tue, 9 Jan 2024 10:03:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOazzShaN24OPr3CBaj8nSRwTLL5N1zjKFH7CWSHi9CGSoa2Uo7odY9Lo8TECoQ4CFG6aL X-Received: by 2002:a05:6a20:da83:b0:199:8389:5357 with SMTP id iy3-20020a056a20da8300b0019983895357mr6648181pzb.46.1704823417878; Tue, 09 Jan 2024 10:03:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704823417; cv=none; d=google.com; s=arc-20160816; b=y4ASSLPs7k3rmZBh+SupUiJbPuoFkxFFWbTT90eSSEOKW1Dy5Ul622vXH50tZpiEb6 N74bjFZFXqwf1y6TfLaKE83d13MzIYDN/1Mx5v9jAhgIL9MPa1DTOyCSP9fF9vG0K38n j77D0ZtT/8ayxUZP1OlYDNKu5CNSSUh7ZgUecRaVLFpwf9ggOP6oQNRDTZaUu4Yv2IND /b2mjirqKngrqqlE1dmmX7i7l9/odX8/oGSvICRU0CZdZIj/5qZAPoujGvs+vliVVtG2 Kx9xzbwgo4XR1O3I8xMH1pOMlBG4jZ+WaxG2+mSygj9FPr882PYRfG20V0rTUopsWTdy f8dQ== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21206-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id qb5-20020a17090b280500b002888396d22esi1938903pjb.6.2024.01.09.10.03.37 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 10:03:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21206-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21206-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D3700B207C7 for <ouuuleilei@gmail.com>; Tue, 9 Jan 2024 18:02:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5E913C6AC; Tue, 9 Jan 2024 18:01:36 +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 <linux-kernel@vger.kernel.org>; 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 <dhowells@redhat.com> To: Christian Brauner <christian@brauner.io>, Jeff Layton <jlayton@kernel.org>, Gao Xiang <hsiangkao@linux.alibaba.com>, Dominique Martinet <asmadeus@codewreck.org> Cc: David Howells <dhowells@redhat.com>, Steve French <smfrench@gmail.com>, Matthew Wilcox <willy@infradead.org>, Marc Dionne <marc.dionne@auristor.com>, Paulo Alcantara <pc@manguebit.com>, Shyam Prasad N <sprasad@microsoft.com>, Tom Talpey <tom@talpey.com>, Eric Van Hensbergen <ericvh@kernel.org>, Ilya Dryomov <idryomov@gmail.com>, 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787636920440362262 X-GMAIL-MSGID: 1787636920440362262 |
Series |
netfs, afs, erofs, cifs: Don't use certain internal folio_*() functions
|
|
Message
David Howells
Jan. 9, 2024, 6:01 p.m. UTC
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(-)
Comments
On Tue, 2024-01-09 at 18:01 +0000, David Howells wrote: > 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(-) > Looks like a fairly straightforward cleanup. Aside from the changelog comments on patch #1: Reviewed-by: Jeff Layton <jlayton@kernel.org>