aboutsummaryrefslogtreecommitdiff
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorChao Yu2017-07-06 01:11:31 +0800
committerJaegeuk Kim2017-07-07 10:34:47 -0700
commit000519f27866afdfde020d097b76cf2c4038595e (patch)
tree1d429f590e515185dcd6a8930b155e355bcc52fd /fs/filesystems.c
parent6ac851ba895dce4b85b7adfa8ddb1fd25637e70a (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 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions