Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 06:02:21 -0700 (PDT)
From:      Maxime Henrion <mux@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsserver nfs_serv.c
Message-ID:  <200404121302.i3CD2LUX030798@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404121302.i3CD2LUX030798>