]> www.infradead.org Git - users/willy/pagecache.git/commit
fs: Convert invalidatepage to work on folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 12 Jan 2021 18:29:42 +0000 (13:29 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 28 Sep 2021 16:45:41 +0000 (12:45 -0400)
commit397bf0006c3375c787f07bdf79e31070d0c5ae0c
tree33e52707bf117106d73eb2e9175f7c9defdd9cd0
parent2531c30214b6695f2e6d2ed2b915f3adef98196c
fs: Convert invalidatepage to work on folios

No existing user of invalidatepage supports compound pages, so all pages
being passed to invalidatepage are folios by definition.  Convert all
the implementations to use folios and also change the offset/length
parameters from unsigned int to size_t to make it clear they're byte
counters and not blocks.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
45 files changed:
Documentation/filesystems/caching/netfs-api.rst
Documentation/filesystems/locking.rst
Documentation/filesystems/vfs.rst
drivers/dax/device.c
fs/9p/vfs_addr.c
fs/afs/dir.c
fs/afs/file.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/inode.c
fs/buffer.c
fs/ceph/addr.c
fs/cifs/file.c
fs/erofs/super.c
fs/ext2/inode.c
fs/ext4/inode.c
fs/f2fs/checkpoint.c
fs/f2fs/compress.c
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/fuse/dax.c
fs/gfs2/aops.c
fs/iomap/buffered-io.c
fs/iomap/trace.h
fs/jfs/jfs_metapage.c
fs/libfs.c
fs/nfs/file.c
fs/nilfs2/inode.c
fs/ntfs/aops.c
fs/ocfs2/aops.c
fs/orangefs/inode.c
fs/reiserfs/inode.c
fs/reiserfs/journal.c
fs/ubifs/file.c
fs/xfs/xfs_aops.c
fs/zonefs/super.c
include/linux/buffer_head.h
include/linux/fs.h
include/linux/iomap.h
include/linux/mm.h
include/linux/pagemap.h
mm/readahead.c
mm/truncate.c