commit | d6c75dc22c755c567838f12f12a16f2a323ebd4e | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Sun Feb 13 15:22:28 2022 -0500 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Mon Mar 21 12:59:02 2022 -0400 |
tree | 78954666fd026403b0ee17150063a927b5ff7f86 | |
parent | 5100da38ef3c33d9ad8b60b29c2b671249bf7e1d [diff] |
mm/truncate: Split invalidate_inode_page() into mapping_evict_folio() Some of the callers already have the address_space and can avoid calling folio_mapping() and checking if the folio was already truncated. Also add kernel-doc and fix the return type (in case we ever support folios larger than 4TB). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>