Commit 225a0504 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Steve French

filemap: Remove lock_page_killable()

There are no more callers; remove this function before any more appear.
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent c191bc07
...@@ -977,16 +977,6 @@ static inline int folio_lock_killable(struct folio *folio) ...@@ -977,16 +977,6 @@ static inline int folio_lock_killable(struct folio *folio)
return 0; return 0;
} }
/*
* 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 * folio_lock_or_retry - Lock the folio, unless this would block and the
* caller indicated that it can handle a retry. * caller indicated that it can handle a retry.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment