We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7fc09 commit 8c2d150Copy full SHA for 8c2d150
fs/f2fs/f2fs.h
@@ -4020,7 +4020,8 @@ static inline void set_compress_context(struct inode *inode)
4020
1 << COMPRESS_CHKSUM : 0;
4021
F2FS_I(inode)->i_cluster_size =
4022
1 << F2FS_I(inode)->i_log_cluster_size;
4023
- if (F2FS_I(inode)->i_compress_algorithm == COMPRESS_LZ4 &&
+ if ((F2FS_I(inode)->i_compress_algorithm == COMPRESS_LZ4 ||
4024
+ F2FS_I(inode)->i_compress_algorithm == COMPRESS_ZSTD) &&
4025
F2FS_OPTION(sbi).compress_level)
4026
F2FS_I(inode)->i_compress_flag |=
4027
F2FS_OPTION(sbi).compress_level <<
0 commit comments