f2fs: fix miscounted block limit in f2fs_statfs_project()

commit acdf217217 upstream.

statfs calculates Total/Used/Avail disk space in block unit,
so we should translate soft/hard prjquota limit to block unit
as well.

Below testing result shows the block/inode numbers of
Total/Used/Avail from df command are all correct afer
applying this patch.

[root@localhost quota-tools]\# ./repquota -P /dev/sdb1
This commit is contained in:
Chengguang Xu 2020-01-04 22:20:03 +08:00 • committed by Greg Kroah-Hartman
commit cc573f215f