diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-07-06 14:13:07 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-08 10:33:32 -0700 |
commit | 3e6d0b4d9c1cd3bbe5bacbf9d6de682be2bce8e4 (patch) | |
tree | cc40078790713663ae5c3d897265695707517ffe /fs/file_table.c | |
parent | ec795418c41850056feb956534edf059dc1155d4 (diff) | |
download | linux-3e6d0b4d9c1cd3bbe5bacbf9d6de682be2bce8e4.tar.bz2 |
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>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions