Matthew Wilcox (Oracle) f253e1854c mm/filemap: change filemap_create_page calling conventions
By moving the iocb flag checks to the caller, we can pass the file and the
page index instead of the iocb.  It never needed the iter.  By passing the
pagevec, we can return an errno (or AOP_TRUNCATED_PAGE) instead of an
ERR_PTR.

Link: https://lkml.kernel.org/r/20210122160140.223228-11-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Kent Overstreet <kent.overstreet@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-02-24 13:38:28 -08:00
..
2021-02-24 13:38:27 -08:00
2020-12-15 12:13:47 -08:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-22 17:45:02 -08:00
2020-12-22 12:55:09 -08:00
2020-12-15 14:48:04 -08:00
2021-01-27 09:51:49 -07:00
2020-12-15 14:48:04 -08:00
2021-02-23 13:39:45 -08:00
2021-02-24 13:38:27 -08:00
2021-02-24 13:38:27 -08:00
2020-12-15 14:48:04 -08:00
2021-02-21 13:08:42 -08:00
2020-12-15 12:13:47 -08:00