diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-14 00:40:24 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 19:59:02 +0300 |
commit | 261b6840ed10419ac2f554e515592d59dd5c82cf (patch) | |
tree | 4613688e69179573f8f0174340de334ecd58aec0 /fs/pipe.c | |
parent | b4545f46533b7e69cb20e05c9fe987be76e1a3da (diff) | |
download | linux-261b6840ed10419ac2f554e515592d59dd5c82cf.tar.xz |
mm: Turn deactivate_file_page() into deactivate_file_folio()
This function has one caller which already has a reference to the
page, so we don't need to use get_page_unless_zero(). Also move the
prototype to mm/internal.h.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions