mbox series

[0/4] netfs, afs, erofs, cifs: Don't use certain internal folio_*() functions

Message ID 20240109180117.1669008-1-dhowells@redhat.com (mailing list archive)
Headers show
Series netfs, afs, erofs, cifs: Don't use certain internal folio_*() functions | expand

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

Jeffrey Layton Jan. 9, 2024, 6:42 p.m. UTC | #1
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>