diff options
author | David Howells <dhowells@redhat.com> | 2020-05-01 22:06:02 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-06-04 15:37:58 +0100 |
commit | f11a016a852f32e9c991baf6a036390eac5b4266 (patch) | |
tree | e3f22ae2effd9687a03c9d7765fe949f7861a320 /fs/afs/internal.h | |
parent | 3c4c4075fc61f5c37a0112b1dc8398025dc3e26a (diff) | |
download | linux-f11a016a852f32e9c991baf6a036390eac5b4266.tar.gz linux-f11a016a852f32e9c991baf6a036390eac5b4266.tar.bz2 linux-f11a016a852f32e9c991baf6a036390eac5b4266.zip |
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: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/internal.h')
0 files changed, 0 insertions, 0 deletions