cvs commit: src/sys/nfsserver nfs_serv.c

Maxime Henrion mux at FreeBSD.org
Mon Apr 12 06:02:22 PDT 2004


mux         2004/04/12 06:02:21 PDT

  FreeBSD src repository

  Modified files:
    sys/nfsserver        nfs_serv.c 
  Log:
  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
  
  Revision  Changes    Path
  1.140     +14 -2     src/sys/nfsserver/nfs_serv.c


More information about the cvs-src mailing list