Chao Yu 000519f278 f2fs: don't count inode block in in-memory inode.i_blocks
Previously, we count all inode consumed blocks including inode block,
xattr block, index block, data block into i_blocks, for other generic
filesystems, they won't count inode block into i_blocks, so for
userspace applications or quota system, they may detect incorrect block
count according to i_blocks value in inode.

This patch changes to count all blocks into inode.i_blocks excluding
inode block, for on-disk i_blocks, we keep counting inode block for
backward compatibility.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2017-07-07 10:34:47 -07:00
..
2017-03-28 16:16:52 +02:00
2017-05-05 18:49:20 -07:00
2017-04-20 12:09:55 -06:00
2017-04-19 14:21:23 +02:00
2017-04-20 12:09:55 -06:00
2017-05-05 13:36:10 -07:00
2017-04-19 14:21:23 +02:00
2017-05-06 11:46:16 -07:00
2017-05-05 18:49:20 -07:00
2017-04-17 12:52:27 -04:00
2017-05-05 18:49:20 -07:00
2017-02-27 18:43:46 -08:00
2017-05-06 11:46:16 -07:00
2016-12-14 23:48:11 -05:00
2017-02-27 18:43:46 -08:00
2017-04-19 15:56:24 -07:00