summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-02-25 11:26:46 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2020-03-10 17:18:29 +0100
commitd940aa07ed464d884d254f6f3bf321fe5b01d59a (patch)
treec28775dec4bab7551744dbe30cfdb3533ed59558 /fs/f2fs/file.c
parentf2fs: fix to avoid potential deadlock (diff)
downloadlinux-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