]> git.baikalelectronics.ru Git - kernel.git/commit
fs: Change the type of filler_t
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 2 May 2022 01:39:29 +0000 (21:39 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 9 May 2022 20:36:48 +0000 (16:36 -0400)
commit8f0f03a63d54aae99c951c14eb492f869f61d55a
treec44ca0b4efda7b78ddbb1ebb4b7ce7736704e6c6
parent8520746c6ad82ae29b9105573045b395c8093ac0
fs: Change the type of filler_t

By making filler_t the same as read_folio, we can use the same function
for both in gfs2.  We can push the use of folios down one more level
in jffs2 and nfs.  We also increase type safety for future users of the
various read_cache_page() family of functions by forcing the parameter
to be a pointer to struct file (or NULL).

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
fs/jffs2/file.c
fs/jffs2/gc.c
fs/jffs2/os-linux.h
fs/nfs/symlink.c
include/linux/pagemap.h
mm/filemap.c