Commit 579baf3
Ravi Singh
ext4: don't over-report free space or inodes in statvfs
JIRA: https://issues.redhat.com/browse/RHEL-125357
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>
(cherry picked from commit f87d3af)
Signed-off-by: Ravi Singh <ravising@redhat.com>1 parent f07b929 commit 579baf3
1 file changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6808 | 6808 | | |
6809 | 6809 | | |
6810 | 6810 | | |
6811 | | - | |
| 6811 | + | |
| 6812 | + | |
| 6813 | + | |
6812 | 6814 | | |
6813 | 6815 | | |
6814 | | - | |
6815 | | - | |
6816 | | - | |
6817 | | - | |
| 6816 | + | |
| 6817 | + | |
| 6818 | + | |
| 6819 | + | |
| 6820 | + | |
| 6821 | + | |
6818 | 6822 | | |
6819 | 6823 | | |
6820 | 6824 | | |
6821 | 6825 | | |
6822 | | - | |
6823 | | - | |
6824 | | - | |
6825 | | - | |
6826 | | - | |
| 6826 | + | |
| 6827 | + | |
| 6828 | + | |
| 6829 | + | |
| 6830 | + | |
| 6831 | + | |
| 6832 | + | |
| 6833 | + | |
6827 | 6834 | | |
6828 | 6835 | | |
6829 | 6836 | | |
| |||
0 commit comments