mm/rmap: change the type of we_locked from int to bool
authorHao Ge <gehao@kylinos.cn>
Sun, 28 Apr 2024 01:20:48 +0000 (09:20 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 6 May 2024 00:53:56 +0000 (17:53 -0700)
commit637a900b08c65387dcac1417a964399986b1b424
tree5c50f5aaef2f95407021babe54562ac7d32b0a21
parent620875560bd65084a8bfcea6899003d6a29ddc57
mm/rmap: change the type of we_locked from int to bool

Change the type of we_locked from int to bool because folio_trylock return
bool

Link: https://lkml.kernel.org/r/20240428012049.8182-1-gehao@kylinos.cn
Signed-off-by: Hao Ge <gehao@kylinos.cn>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/rmap.c