Date: Sun, 1 May 2011 11:22:42 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: Bruce Evans <brde@optusnet.com.au> Cc: rmacklem@freebsd.org, fs@freebsd.org Subject: Re: newnfs client and statfs Message-ID: <63264466.828351.1304263362674.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <506337690.827521.1304260638431.JavaMail.root@erie.cs.uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> Would > > if (sfp->sf_ffiles > UINT64_MAX) > sbp->f_ffree = INT64_MAX; > else > sbp->f_ffree = sfp->sf_ffiles; > Oops, I shouldn't have called this UINT64_MAX. What I meant was the same value as INT64_MAX, but of uint64_t. Something like: (uint64_t)INT64_MAX OR 0x7fffffffffffffff rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63264466.828351.1304263362674.JavaMail.root>