f2fs: clarify compress level bit offset
PATCH 1/3 f2fs: clarify compress level bit offset
commit 3fde13f817e2 ("f2fs: compress: support compress level") introduce compress level, which macro(COMPRESS_LEVEL_OFFSET) is 8, But use wrong comment about compress level.
Let's fix it.
--- include/linux/f2fs_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/f2fs_fs.h +1 -1
@@ -315,7 +315,7 @@ struct f2fs_inode {__u8 i_log_cluster_size;/* log of cluster size */ __le16 i_compress_flag;/* compress flag */ /* 0 bit: chksum flag -* [10,15] bits: compress level +* [8,15] bits: compress level */ __le32 i_extra_end[0 ];/* for attribute size calculation */ } __packed;
Signature · 1 line
2.25.1
Quoted 7 lines · Yangtao Li
commit
3fde13f817e2("f2fs: compress: support compress level") introduce compress level, whichmacro(COMPRESS_LEVEL_OFFSET)is 8, But use wrong comment about compress level.Let's fix it.
Signed-off-by Yangtao Li <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:
Hello:
This series was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:
Quoted 9 lines · On Thu, 12 Jan 2023 21:34:43 +0800 you wrote:
commit
3fde13f817e2("f2fs: compress: support compress level") introduce compress level, whichmacro(COMPRESS_LEVEL_OFFSET)is 8, But use wrong comment about compress level.Let's fix it.
Signed-off-by Yangtao Li <[email protected]>[...]
Here is the summary with links:
- [f2fs-dev,1/3] f2fs: clarify compress level bit offset
https://git.kernel.org/jaegeuk/f2fs/c/9adc6c8ff3da
- [f2fs-dev,2/3] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION_V2 ioctl (no matching commit)
- [f2fs-dev,3/3] f2fs: add F2FS_IOC_GET_COMPRESS_OPTION_V2 ioctl (no matching commit)
You are awesome, thank you!
Signature · 10 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel