fs: make aops->readpages() take kiocb argument
authorJens Axboe <axboe@kernel.dk>
Mon, 1 Jun 2020 01:35:33 +0000 (19:35 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Jun 2020 13:53:30 +0000 (07:53 -0600)
commit707258c22fea35a5915ff0373231fb07a8a1c9eb
tree93fe354aa23ebf37793091c3f9b2031bdcdec792
parentb360d424ce02f5ff1594e50342abb471da74e39e
fs: make aops->readpages() take kiocb argument

Instead of passing in a file, pass in the kiocb instead. This still
provides access to the file through kiocb->ki_filp, but also provides
access to more information related to the IO. We'll be using that to
ensure that ->readpages() understands IOCB_NOWAIT.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
34 files changed:
fs/9p/vfs_addr.c
fs/afs/file.c
fs/block_dev.c
fs/btrfs/inode.c
fs/ceph/addr.c
fs/cifs/file.c
fs/erofs/data.c
fs/erofs/zdata.c
fs/exfat/inode.c
fs/ext2/inode.c
fs/ext4/inode.c
fs/f2fs/data.c
fs/fat/inode.c
fs/fuse/file.c
fs/gfs2/aops.c
fs/hpfs/file.c
fs/isofs/inode.c
fs/jfs/inode.c
fs/nfs/read.c
fs/nilfs2/inode.c
fs/ocfs2/aops.c
fs/omfs/file.c
fs/qnx6/inode.c
fs/reiserfs/inode.c
fs/udf/inode.c
fs/xfs/xfs_aops.c
fs/zonefs/super.c
include/linux/fs.h
include/linux/mm.h
include/linux/nfs_fs.h
mm/fadvise.c
mm/filemap.c
mm/internal.h
mm/readahead.c