diff options
author | 2021-05-10 17:30:32 +0800 | |
---|---|---|
committer | 2021-05-11 14:48:12 -0700 | |
commit | 8bfbfb0ddd706b1ce2e89259ecc45f192c0ec2bf (patch) | |
tree | 1c2a7aa736f11f1080c1e9782a28a4476859dd06 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f2fs: compress: fix race condition of overwrite vs truncate (diff) | |
download | wireguard-linux-8bfbfb0ddd706b1ce2e89259ecc45f192c0ec2bf.tar.xz wireguard-linux-8bfbfb0ddd706b1ce2e89259ecc45f192c0ec2bf.zip |
f2fs: compress: fix to assign cc.cluster_idx correctly
In f2fs_destroy_compress_ctx(), after f2fs_destroy_compress_ctx(),
cc.cluster_idx will be cleared w/ NULL_CLUSTER, f2fs_cluster_blocks()
may check wrong cluster metadata, fix it.
Fixes: 4c8ff7095bef ("f2fs: support data compression")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions