ext4: don't over-report free space or inodes in statvfs
This fixes an analogus bug that was fixed in xfs in commit 4b8d867c ("xfs: don't over-report free space or inodes in statvfs") where statfs can report misleading / incorrect information where project quota is enabled, and the free space is less than the remaining quota. This commit will resolve a test failure in generic/762 which tests for this bug. Cc: stable@kernel.org Fixes: 689c958c ("ext4: add project quota support") Signed-off-by:Theodore Ts'o <tytso@mit.edu> Reviewed-by:
"Darrick J. Wong" <djwong@kernel.org>
Loading
Please register or sign in to comment