On Mon, Nov 02, 2020 at 06:43:03PM +0000, Matthew Wilcox (Oracle) wrote: > filemap_create_page() doesn't need the iocb or the iter. It just needs > the file and the index. Move the iocb flag checks to the caller. We can > skip checking GFP_NOIO as that's checked a few lines earlier. There's no > need to fall through to filemap_update_page() -- if filemap_create_page > couldn't update it, filemap_update_page will not be able to. > > Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Reviewed-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>