On 2019-12-16 19:51, Markus Elfring wrote:
…+++ b/fs/f2fs/f2fs.h…+#ifdef CONFIG_F2FS_FS_COMPRESSION +bool f2fs_is_compressed_page(struct page *page);… Can the following adjustment make sense? +bool f2fs_is_compressed_page(const struct page *page); Would you like to improve const-correctness at any more source code places?
I can't figure out a good reason to do that for f2fs internal functions... Thanks,
Regards, Markus