HomeFreeBSD

Fix 32-bit MAXOFFSET_T definition

Description

Fix 32-bit MAXOFFSET_T definition

The correct definition of MAXOFFSET_T under Solaris is in reality
tied to the maximum size of a 'long long' type. With this in mind
MAXOFFSET_T is now defined as LLONG_MAX which ensures the correct
value is used on both 32-bit and 64-bit systems.

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Apr 22 2011, 11:17 PM
Parents
rG5b8f76ea16f5: Make the SPL kernel messages consistent with ZFS.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd837ae395b33: Fix 32-bit MAXOFFSET_T definition (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Apr 22 2011, 11:17 PM