Skip to content
Commit f11a016a authored by David Howells's avatar David Howells
Browse files

afs: Fix afs_statfs() to not let the values go below zero



Fix afs_statfs() so that the value for f_bavail and f_bfree don't go
"negative" if the number of blocks in use by a volume exceeds the max quota
for that volume.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 3c4c4075
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment