aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-02-08 14:56:11 +0000
committerSteve French <stfrench@microsoft.com>2023-02-20 11:48:48 -0600
commit225a05043cd87a37455bfbff8c35d4e276519387 (patch)
treeb777bfe9acf2c7ec10d101cdbe3e5a6f67f542d9
parentc191bc070eba9cbbd166322cad293dd09c48c78e (diff)
downloadlinux-225a05043cd87a37455bfbff8c35d4e276519387.tar.gz
filemap: Remove lock_page_killable()
There are no more callers; remove this function before any more appear. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r--include/linux/pagemap.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 29e1f9e76eb6dd..2f5b36f446cce3 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -978,16 +978,6 @@ static inline int folio_lock_killable(struct folio *folio)
}
/*
- * lock_page_killable is like lock_page but can be interrupted by fatal
- * signals. It returns 0 if it locked the page and -EINTR if it was
- * killed while waiting.
- */
-static inline int lock_page_killable(struct page *page)
-{
- return folio_lock_killable(page_folio(page));
-}
-
-/*
* folio_lock_or_retry - Lock the folio, unless this would block and the
* caller indicated that it can handle a retry.
*