mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
filemap: Remove obsolete comment in lock_page
We no longer need the page's inode pinned. This comment dates back to commitdb37648cd6("[PATCH] mm: non syncing lock_page()") which added lock_page_nosync(). That was removed by commit7eaceaccab("block: remove per-queue plugging") which also made this comment obsolete. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
84a1041c60
commit
65aa6b5a18
|
|
@ -908,9 +908,6 @@ static inline void folio_lock(struct folio *folio)
|
|||
__folio_lock(folio);
|
||||
}
|
||||
|
||||
/*
|
||||
* lock_page may only be called if we have the page's inode pinned.
|
||||
*/
|
||||
static inline void lock_page(struct page *page)
|
||||
{
|
||||
struct folio *folio;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user