diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-02-25 11:26:46 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-03-10 17:18:29 +0100 |
commit | d940aa07ed464d884d254f6f3bf321fe5b01d59a (patch) | |
tree | c28775dec4bab7551744dbe30cfdb3533ed59558 /fs/f2fs/file.c | |
parent | f2fs: fix to avoid potential deadlock (diff) | |
download | linux-d940aa07ed464d884d254f6f3bf321fe5b01d59a.tar.xz linux-d940aa07ed464d884d254f6f3bf321fe5b01d59a.zip |
f2fs: fix to check i_compr_blocks correctly
inode.i_blocks counts based on 512byte sector, we need to convert
to 4kb sized block count before comparing to i_compr_blocks.
In addition, add to print message when sanity check on inode
compression configs failed.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
0 files changed, 0 insertions, 0 deletions