cvs commit: src/sys/nfsclient nfs_vfsops.c

Peter Wemm peter at FreeBSD.org
Thu Apr 24 13:36:33 PDT 2003


peter       2003/04/24 13:36:32 PDT

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_vfsops.c 
  Log:
  Fix a bug with df on large (>1TB) nfsv3 file servers on 32 bit client
  machines where the 'long' number of blocks in struct statfs wont fit.
  Instead of chosing an artificial 512 byte block size, simply scale it up
  until we avoid an overflow.  NFSv3 reports the sizes in bytes, and the
  blocksize is a figment of nfsclient's imagination.
  
  Revision  Changes    Path
  1.133     +23 -11    src/sys/nfsclient/nfs_vfsops.c


More information about the cvs-src mailing list