commit | 3e6d0b4d9c1cd3bbe5bacbf9d6de682be2bce8e4 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Wed Jul 06 14:13:07 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jul 08 10:33:32 2016 -0700 |
tree | cc40078790713663ae5c3d897265695707517ffe | |
parent | ec795418c41850056feb956534edf059dc1155d4 [diff] |
f2fs: fix incorrect f_bfree calculation in ->statfs As manual described, f_bfree indicates total free blocks in fs, in f2fs, it includes two parts: visible free blocks and over-provision blocks. This patch corrrects the calculation. fsblkcnt_t f_bfree; /* free blocks in fs */ Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>