1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/nfsserver
Maxime Henrion 7cc35e41e7 Don't send the available space as is in the FSSTAT call. Under
FreeBSD, we can have a negative available space value, but the
corresponding fields in the NFS protocol are unsigned.  So
trnucate the value to 0 if it's negative, so that the client
doesn't receive absurdly high values.

Tested by:	cognet
2004-04-12 13:02:21 +00:00
..
nfs_serv.c Don't send the available space as is in the FSSTAT call. Under 2004-04-12 13:02:21 +00:00
nfs_srvcache.c Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs_srvsock.c Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs_srvsubs.c Don't let the NFS server module be unloaded as long as there are 2004-04-11 13:33:34 +00:00
nfs_syscalls.c Don't let the NFS server module be unloaded as long as there are 2004-04-11 13:33:34 +00:00
nfs.h Don't let the NFS server module be unloaded as long as there are 2004-04-11 13:33:34 +00:00
nfsm_subs.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfsrvcache.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfsrvstats.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00