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

From: Markus Elfring
Date: Mon Dec 16 2019 - 06:51:37 EST


â
> +++ 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?

Regards,
Markus