commit | b08b12d2ddc85b977a0531470cf6a7158289aaaf | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Nov 18 22:27:41 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Nov 25 10:16:07 2016 -0800 |
tree | fa68a6a8226bd15f9aca25ff2a790b93d052d85e | |
parent | b4ceec29219e340178baa9c5f17bf97a42951cc8 [diff] |
f2fs: fix incorrect free inode count in ->statfs While calculating inode count that we can create at most in the left space, we should consider space which data/node blocks occupied, since we create data/node mixly in main area. So fix the wrong calculation in ->statfs. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>