diff options
author | 2024-04-07 15:26:03 +0800 | |
---|---|---|
committer | 2024-04-12 20:58:35 +0000 | |
commit | 7c5dffb3d90c5921b91981cc663e02757d90526e (patch) | |
tree | d0506dede13413076039176d29760fb03fda73bf /tools/perf/scripts/python | |
parent | f2fs: fix zoned block device information initialization (diff) | |
download | wireguard-linux-7c5dffb3d90c5921b91981cc663e02757d90526e.tar.xz wireguard-linux-7c5dffb3d90c5921b91981cc663e02757d90526e.zip |
f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks()
Compress flag should be checked after inode lock held to avoid
racing w/ f2fs_setflags_common(), fix it.
Fixes: 4c8ff7095bef ("f2fs: support data compression")
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')
0 files changed, 0 insertions, 0 deletions