Project

General

Profile

Actions

Bug #5769

closed

Cast 'zfs bad bloc' to ULL for x86

Added by Matthew Ahrens over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
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 <>
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

Also available in: Atom PDF