summaryrefslogtreecommitdiff
path: root/fs/afs/server.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-05-02 00:06:02 +0300
committerDavid Howells <dhowells@redhat.com>2020-06-04 17:37:58 +0300
commitf11a016a852f32e9c991baf6a036390eac5b4266 (patch)
treee3f22ae2effd9687a03c9d7765fe949f7861a320 /fs/afs/server.c
parent3c4c4075fc61f5c37a0112b1dc8398025dc3e26a (diff)
downloadlinux-f11a016a852f32e9c991baf6a036390eac5b4266.tar.xz
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/server.c')
0 files changed, 0 insertions, 0 deletions