filemap: Remove obsolete comment in lock_page
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 4 Apr 2022 15:38:20 +0000 (11:38 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 8 May 2022 18:45:56 +0000 (14:45 -0400)
commit65aa6b5a18294b3713a90c120312ed5d63a16b82
treea938acdd6d534f556b8eae6410b87a3e99c50c22
parent84a1041c60ff8f648a09d28af7b2e50a8f6345ed
filemap: Remove obsolete comment in lock_page

We no longer need the page's inode pinned.  This comment dates back to
commit db37648cd6ce ("[PATCH] mm: non syncing lock_page()") which added
lock_page_nosync().  That was removed by commit 7eaceaccab5f ("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>
include/linux/pagemap.h