Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 13:36:32 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsclient nfs_vfsops.c
Message-ID:  <200304242036.h3OKaWc6026895@repoman.freebsd.org>

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



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