]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: report delalloc reserve as non-free in statfs for project quota
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Mon, 21 May 2018 02:49:54 +0000 (22:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 May 2018 02:49:54 +0000 (22:49 -0400)
commit6c77c0b008ec27e613da51115e259ccf53225ad3
tree879115a132b59b462c16072008c2cc28f676a650
parent5f6a43b9bde10dba67d8b75657ced69b4935d944
ext4: report delalloc reserve as non-free in statfs for project quota

This reserved space isn't committed yet but cannot be used for allocations.
For userspace it has no difference from used space. XFS already does this.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Fixes: 233aff5ea79d ("ext4: add project quota support")
fs/ext4/super.c