summaryrefslogtreecommitdiffstats
path: root/cmd/zpool/zpool_main.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-04-22 16:21:26 -0700
committerBrian Behlendorf <[email protected]>2011-04-22 16:21:26 -0700
commita1cc0b3290dcf1b5cf759c89352d8bdb44ee41e6 (patch)
tree5562b843d8e335d468e27f4e9eaa249c9b402232 /cmd/zpool/zpool_main.c
parente2448b0e62f73f8b9574d74c5b327707b67b703a (diff)
Fix 32-bit MAXOFFSET_T definition
Having MAXOFFSET_T defined to 0x7fffffffl was artificially limiting the maximum file size on 32-bit systems. In reality MAXOFFSET_T is used when working with 'long long' types and as such we now define it as LLONG_MAX. This resolves the 2GB file size limit for files and additionally allows zvols greater than 2GB on 32-bit systems. Closes #136 Closes #81
Diffstat (limited to 'cmd/zpool/zpool_main.c')
0 files changed, 0 insertions, 0 deletions