Actions
Bug #5769
closedCast 'zfs bad bloc' to ULL for x86
Start date:
2015-03-28
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Pull in the following patch from ZoL:
https://github.com/zfsonlinux/zfs/commit/dd26aa5
commit dd26aa535b395735ca61ea2a3e618aded45eb05e
Author: Brian Behlendorf <behlendorf1@llnl.gov>
Date: Mon Feb 4 16:35:54 2013 -0800
Cast 'zfs bad bloc' to ULL for x86
Explicitly case this value to an unsigned long long for 32-bit
systems to inform the compiler that a long type should not be
used. Otherwise we get the following compiler error:
dmu_send.c:376: error: integer constant is too large for
`long' type
Actions