Files
linux/fs
Chao Yu 36014bfbec f2fs: clean up i_compress_flag and i_compress_level usage
.i_compress_level was introduced by commit 3fde13f817 ("f2fs: compress:
support compress level"), but never be used.

This patch updates as below:
- load high 8-bits of on-disk .i_compress_flag to in-memory .i_compress_level
- load low 8-bits of on-disk .i_compress_flag to in-memory .i_compress_flag
- change type of in-memory .i_compress_flag from unsigned short to unsigned
char.

w/ above changes, we can avoid unneeded bit shift whenever during
.init_compress_ctx(), and shrink size of struct f2fs_inode_info.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2023-02-02 13:41:05 -08:00
..
2021-08-19 09:02:55 +09:00
2021-10-19 09:36:06 +02:00
2023-01-04 13:00:52 -08:00
2021-04-12 15:04:29 +02:00
2021-08-26 22:28:02 +02:00
2023-01-04 13:00:53 -08:00
2023-01-04 13:00:52 -08:00
2021-09-10 09:46:48 -07:00
2021-06-29 10:53:48 -07:00
2021-08-16 10:50:32 -06:00
2021-08-19 09:02:55 +09:00
2023-01-04 13:00:53 -08:00
2023-01-04 13:00:54 -08:00
2021-10-19 17:09:34 -06:00
2021-06-29 10:53:48 -07:00
2023-01-04 13:00:53 -08:00
2021-08-10 17:57:22 +02:00
2023-01-04 13:00:53 -08:00