Re: [RFC PATCH v5] f2fs: support data compression

From: Chao Yu
Date: Mon Dec 16 2019 - 08:28:27 EST


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