Baolin Wang 1f7ef65774 mm/filemap: remove unused parameter and change to void type for replace_page_cache_page()
Since commit 74d609585d8b ("page cache: Add and replace pages using the
XArray") was merged, the replace_page_cache_page() can not fail and always
return 0, we can remove the redundant return value and void it.  Moreover
remove the unused gfp_mask.

Link: https://lkml.kernel.org/r/609c30e5274ba15d8b90c872fd0d8ac437a9b2bb.1610071401.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-02-24 13:38:27 -08:00
..
2021-01-24 14:27:20 +01:00
2020-09-18 15:17:41 +02:00
2020-09-18 15:17:41 +02:00
2021-01-24 14:27:20 +01:00
2020-12-10 15:33:14 +01:00
2021-01-24 14:27:20 +01:00
2020-12-10 15:33:14 +01:00
2020-12-10 15:33:14 +01:00
2021-01-24 14:27:17 +01:00