Commit c891bc9
ext4: don't over-report free space or inodes in statvfs
commit f87d3af upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 5a57f8e commit c891bc9
1 file changed
Lines changed: 17 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6813 | 6813 | | |
6814 | 6814 | | |
6815 | 6815 | | |
6816 | | - | |
| 6816 | + | |
| 6817 | + | |
| 6818 | + | |
6817 | 6819 | | |
6818 | 6820 | | |
6819 | | - | |
6820 | | - | |
6821 | | - | |
6822 | | - | |
| 6821 | + | |
| 6822 | + | |
| 6823 | + | |
| 6824 | + | |
| 6825 | + | |
| 6826 | + | |
6823 | 6827 | | |
6824 | 6828 | | |
6825 | 6829 | | |
6826 | 6830 | | |
6827 | | - | |
6828 | | - | |
6829 | | - | |
6830 | | - | |
6831 | | - | |
| 6831 | + | |
| 6832 | + | |
| 6833 | + | |
| 6834 | + | |
| 6835 | + | |
| 6836 | + | |
| 6837 | + | |
| 6838 | + | |
6832 | 6839 | | |
6833 | 6840 | | |
6834 | 6841 | | |
| |||
0 commit comments