diff options
| author | Chao Yu <yuchao0@huawei.com> | 2017-07-06 01:11:31 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-07-21 12:38:15 +0200 |
| commit | 279f42412973312b80c9ef35a91747c7f402c60c (patch) | |
| tree | 44381e339e0c872b627a10b826b3cd7176f9dc45 /kernel | |
| parent | 552f23636c05d64f05e78a1a57218f70520a2770 (diff) | |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
