cvs commit: src/sys/nfsserver nfs_serv.c

Ian Dowse iedowse at FreeBSD.org
Tue Jun 24 12:04:27 PDT 2003


iedowse     2003/06/24 12:04:26 PDT

  FreeBSD src repository

  Modified files:
    sys/nfsserver        nfs_serv.c 
  Log:
  Fix a bug in nfsrv_read() that caused the replies to certain NFSv3
  short read operations at the end of a file to not have the "eof"
  flag set as they should. The problem is that the requested read
  count was compared against the rounded-up reply data length instead
  of the actual reply data length. This bug appears to have been
  introduced in revision 1.78 (June 1999). It causes first-time reads
  of certain file sizes (e.g 4094 bytes) to fail with EIO on a RedHat
  9.0 NFSv3 client.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.136     +1 -1      src/sys/nfsserver/nfs_serv.c


More information about the cvs-src mailing list