In the previous version, we could end up calling ->readpage without checking IOCB_NOIO. Andreas Gruenbacher (2): fs: Add IOCB_NOIO flag for generic_file_read_iter gfs2: Rework read and page fault locking fs/gfs2/aops.c | 45 +-------------------------------------- fs/gfs2/file.c | 52 ++++++++++++++++++++++++++++++++++++++++++++-- include/linux/fs.h | 1 + mm/filemap.c | 23 ++++++++++++++++++-- 4 files changed, 73 insertions(+), 48 deletions(-) -- 2.26.2