diff options
author | Chao Yu <chao@kernel.org> | 2024-02-19 10:28:44 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-02-29 08:34:34 -0800 |
commit | ea59b12ac69774c08aa95cd5b6100700ea0cce97 (patch) | |
tree | c3b6a1c8cbf411ca3295655565c7206455138060 /Documentation/filesystems/caching/backend-api.rst | |
parent | 7d009e048d7cfcc21d400f2aba4c8bacbdebbd47 (diff) |
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>
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.rst')
0 files changed, 0 insertions, 0 deletions