diff options
| author | Chao Yu <yuchao0@huawei.com> | 2016-07-06 14:13:07 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:33:51 +0200 |
| commit | f782f3369565f5a816da729ffe4b519670c33e22 (patch) | |
| tree | ac450566d112e9c5c8d5fc0e06cb07db458514fd /include/linux/stringify.h | |
| parent | ddbdd9a5ac65fc3a042f4e5087ba4b34a2f8217a (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>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
