summaryrefslogtreecommitdiffstats
path: root/include/linux/pagemap.h
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2023-08-15 11:06:09 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 13:38:03 -0700
commite45a2e947dfa6da2d73e2cf91ed6399c12522d4f (patch)
tree04eabd13714dc0e57f2d6902ea710faee548d977 /include/linux/pagemap.h
parentd160ef71b42c53573fc27188c20270a2ccdcc196 (diff)
downloadlinux-e45a2e947dfa6da2d73e2cf91ed6399c12522d4f.tar.gz
linux-e45a2e947dfa6da2d73e2cf91ed6399c12522d4f.tar.bz2
linux-e45a2e947dfa6da2d73e2cf91ed6399c12522d4f.zip
pagemap: remove wait_on_page_locked_killable()
There is no users of wait_on_page_locked_killable(), remove it. Link: https://lkml.kernel.org/r/20230815030609.39313-1-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/pagemap.h')
-rw-r--r--include/linux/pagemap.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 0ab0f2362b9b..f4f24b594cd7 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -1060,11 +1060,6 @@ static inline void wait_on_page_locked(struct page *page)
folio_wait_locked(page_folio(page));
}
-static inline int wait_on_page_locked_killable(struct page *page)
-{
- return folio_wait_locked_killable(page_folio(page));
-}
-
void wait_on_page_writeback(struct page *page);
void folio_wait_writeback(struct folio *folio);
int folio_wait_writeback_killable(struct folio *folio);