]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78367ac20c56e94d231a90137924825a8585936c
treea938acdd6d534f556b8eae6410b87a3e99c50c22
parent522d3d22d5cedf3ba0b515693f036afe0b7ae2cc
filemap: Remove obsolete comment in lock_page

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