f2fs: remove redundant check in f2fs_sanity_check_cluster
authorZhang Qilong <zhangqilong3@huawei.com>
Thu, 1 Sep 2022 07:19:37 +0000 (15:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Oct 2022 20:31:42 +0000 (13:31 -0700)
commit9df6d6f9be4754da96d3c91ec518ed974e6b81e7
tree240ad47c8bbbfd4fc4dafd2582626d1925223086
parent049ea86cb5c7212a6e7e617a67fe686f9b0b0669
f2fs: remove redundant check in f2fs_sanity_check_cluster

It have checked "compressed" at the entry of
f2fs_sanity_check_cluster, just remove the
redundant check for better performance here.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c