RFR of 8081843: (fs) FileStore.getTotalSpace returns unexpected results with >2TB file systems
brian.burkhalter at oracle.com
Thu Jun 11 21:59:44 UTC 2015
On Jun 11, 2015, at 9:22 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 11/06/2015 17:05, Brian Burkhalter wrote:
>> Actually the change includes using statfs() and struct statfs instead of statvfs64 and struct statvfs64, respectively. In struct statfs there is no f_frsize field.
> Ah okay, I read it as statvfs rather than statfs. In that case, it looks good.
I made the further minor change listed below and would like to include it as well. It suppresses defining the symbol statvfs64 on Mac OS X.
#define stat64 stat
#define statvfs64 statvfs
#define open64 open
#define fstat64 fstat
#define lstat64 lstat
#define dirent64 dirent
#define readdir64_r readdir_r
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev