Message ID | 20230112133443.16713-1-frank.li@vivo.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9adc6c8ff3da77866c33ed28ed354799b68b89bb |
Headers | show |
Series | [f2fs-dev,1/3] f2fs: clarify compress level bit offset | expand |
On 2023/1/12 21:34, Yangtao Li wrote: > 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. > > Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Thanks,
Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <jaegeuk@kernel.org>: On Thu, 12 Jan 2023 21:34:43 +0800 you wrote: > 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. > > Signed-off-by: Yangtao Li <frank.li@vivo.com> > > [...] 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!
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index ee0d75d9a302..1701f25117ea 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h @@ -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;
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. Signed-off-by: Yangtao Li <frank.li@vivo.com> --- include/linux/f2fs_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)