Commit f87d3af
committed
ext4: don't over-report free space or inodes in statvfs
This fixes an analogus bug that was fixed in xfs in commit
4b8d867 ("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: 689c958 ("ext4: add project quota support")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>1 parent 5f1cf94 commit f87d3af
1 file changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6820 | 6820 | | |
6821 | 6821 | | |
6822 | 6822 | | |
6823 | | - | |
| 6823 | + | |
| 6824 | + | |
| 6825 | + | |
6824 | 6826 | | |
6825 | 6827 | | |
6826 | | - | |
6827 | | - | |
6828 | | - | |
6829 | | - | |
| 6828 | + | |
| 6829 | + | |
| 6830 | + | |
| 6831 | + | |
| 6832 | + | |
| 6833 | + | |
6830 | 6834 | | |
6831 | 6835 | | |
6832 | 6836 | | |
6833 | 6837 | | |
6834 | | - | |
6835 | | - | |
6836 | | - | |
6837 | | - | |
6838 | | - | |
| 6838 | + | |
| 6839 | + | |
| 6840 | + | |
| 6841 | + | |
| 6842 | + | |
| 6843 | + | |
| 6844 | + | |
| 6845 | + | |
6839 | 6846 | | |
6840 | 6847 | | |
6841 | 6848 | | |
| |||
0 commit comments