diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-07-29 15:21:35 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-08-03 19:32:51 +0200 |
commit | a86d27dd3dbed4d870c6582b8d4bf1fd0f653914 (patch) | |
tree | 4fb7dfd07e5c41ba2b7f723ad915e21a81e7793b /fs/f2fs/super.c | |
parent | f2fs: use macro instead of f2fs verity version (diff) | |
download | linux-a86d27dd3dbed4d870c6582b8d4bf1fd0f653914.tar.xz linux-a86d27dd3dbed4d870c6582b8d4bf1fd0f653914.zip |
f2fs: compress: add sanity check during compressed cluster read
In f2fs_read_multi_pages(), we don't have to check cluster's type
again, since overwrite or partial truncation need page lock in
cluster which has already been held by reader, so cluster's type
is stable, let's change check condition to sanity check.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
0 files changed, 0 insertions, 0 deletions