mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
mm/page-flags: make PageUptodate return bool
Make PageUptodate return bool to align the return values of folio_test_uptodate function Link: https://lkml.kernel.org/r/20240422032725.41452-1-gehao@kylinos.cn Signed-off-by: Hao Ge <gehao@kylinos.cn> Cc: David Hildenbrand <david@redhat.com> Cc: Josef Bacik <josef@toxicpanda.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Ruihan Li <lrh2000@pku.edu.cn> Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
dce7d10be4
commit
2d8b272cdc
1 changed files with 1 additions and 1 deletions
|
@ -789,7 +789,7 @@ static inline bool folio_test_uptodate(const struct folio *folio)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static inline int PageUptodate(const struct page *page)
|
||||
static inline bool PageUptodate(const struct page *page)
|
||||
{
|
||||
return folio_test_uptodate(page_folio(page));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue