]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: 220152
authorzack <zack@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 Apr 2011 19:34:58 +0000 (19:34 +0000)
committerzack <zack@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 Apr 2011 19:34:58 +0000 (19:34 +0000)
commit39643bffd935d341454be7329fdcd741126b1cf3
treea9e07e43911438707526ee36c28ac5505f272dbb
parentbd36f99709fa3bc6f1a899c9ca7658e3666bf21e
MFC: 220152
  This patch fixes the Experimental NFS client to properly deal with 32 bit or
  64 bit fileid's in NFSv2 and NFSv3. Without this fix, invalid casting (and sign
  extension) was creating problems for any fileid greater than 2^31.

  We discovered this because we have test clusters with more than 2 billion
  allocated files and 64-bit ino_t's (and friend structures).

Reviewed by:    rmacklem
Approved by:    zml (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@220607 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clcomsubs.c
sys/fs/nfsclient/nfs_clrpcops.c