]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commitf06925c7394236d769c788940c9a7b85dbe4c40c
tree879115a132b59b462c16072008c2cc28f676a650
parent21c580d88e2abd62b58ce34872cceb5c0d056330
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: 689c958cbe6b ("ext4: add project quota support")
fs/ext4/super.c