diff options
author | Andriy Gapon <[email protected]> | 2017-06-21 23:47:54 +0300 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-06-30 11:11:01 -0700 |
commit | 1579dcbc9176d3875f3ce8926076e46a87d8e8ed (patch) | |
tree | 7bff07f08b13c79fb928f3caab36f13defa5bd94 /include | |
parent | 2a53d6a12a27b757d1d8867b2e02369fbc046cab (diff) |
OpenZFS 8416 - abd.h is not C++ friendly
Authored by: Andriy Gapon <[email protected]>
Reviewed by: Igor Kozhukhov <[email protected]>
Reviewed by: Dan Kimmel <[email protected]>
Reviewed by: Alek Pinchuk <[email protected]>
Approved by: Robert Mustacchi <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Ported-by: Giuseppe Di Natale <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/8416
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/589c189
Closes #6288
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/abd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/abd.h b/include/sys/abd.h index 59b679491..cd7105013 100644 --- a/include/sys/abd.h +++ b/include/sys/abd.h @@ -73,7 +73,7 @@ extern int zfs_abd_scatter_enabled; static inline boolean_t abd_is_linear(abd_t *abd) { - return ((abd->abd_flags & ABD_FLAG_LINEAR) != 0); + return ((abd->abd_flags & ABD_FLAG_LINEAR) != 0 ? B_TRUE : B_FALSE); } /* |