David Howells fa7d614da3 afs: Don't use certain unnecessary folio_*() functions
Filesystems should use folio->index and folio->mapping, instead of
folio_index(folio), folio_mapping() and folio_file_mapping() since
they know that it's in the pagecache.

Change this automagically with:

perl -p -i -e 's/folio_mapping[(]([^)]*)[)]/\1->mapping/g' fs/afs/*.c
perl -p -i -e 's/folio_file_mapping[(]([^)]*)[)]/\1->mapping/g' fs/afs/*.c
perl -p -i -e 's/folio_index[(]([^)]*)[)]/\1->index/g' fs/afs/*.c

Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: linux-fsdevel@vger.kernel.org
2024-01-22 21:56:54 +00:00
..
2023-12-24 15:22:53 +00:00
2024-01-19 09:10:23 -08:00
2024-01-19 09:10:23 -08:00
2023-01-11 06:52:43 -05:00
2024-01-01 16:37:27 +00:00
2024-01-01 16:37:27 +00:00
2024-01-19 09:10:23 -08:00
2024-01-19 09:10:23 -08:00
2023-12-24 15:22:53 +00:00
2022-06-29 08:51:06 -04:00
2024-01-01 16:37:27 +00:00
2024-01-19 09:10:23 -08:00
2024-01-01 16:37:27 +00:00
2024-01-19 09:10:23 -08:00