Chao Yu ea59b12ac6 f2fs: compress: fix to check compress flag w/ .i_sem lock
It needs to check compress flag w/ .i_sem lock, otherwise, compressed
inode may be disabled after the check condition, it's not needed to
set compress option on non-compress inode.

Fixes: e1e8debec656 ("f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2024-02-29 08:34:34 -08:00
..
2023-01-19 09:24:27 +01:00
2024-01-11 20:39:15 -08:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2024-02-27 09:41:15 -08:00