diff options
author | 2024-04-07 15:26:04 +0800 | |
---|---|---|
committer | 2024-04-12 20:58:35 +0000 | |
commit | bd9ae4ae9e585061acfd4a169f2321706f900246 (patch) | |
tree | f25c00ec0ec9468244ea8b1b9ebf1da2c6346207 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks() (diff) | |
download | wireguard-linux-bd9ae4ae9e585061acfd4a169f2321706f900246.tar.xz wireguard-linux-bd9ae4ae9e585061acfd4a169f2321706f900246.zip |
f2fs: compress: fix to relocate check condition in f2fs_ioc_{,de}compress_file()
Compress flag should be checked after inode lock held to avoid
racing w/ f2fs_setflags_common() , fix it.
Fixes: 5fdb322ff2c2 ("f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE")
Reported-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Closes: https://lore.kernel.org/linux-f2fs-devel/CAHJ8P3LdZXLc2rqeYjvymgYHr2+YLuJ0sLG9DdsJZmwO7deuhw@mail.gmail.com
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions