Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
8416 abd.h is not C++ friendly
Browse files Browse the repository at this point in the history
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Alek Pinchuk <pinchuk.alek@gmail.com>

Closes #408
  • Loading branch information
avg-I authored and prakashsurya committed Jun 29, 2017
1 parent ffa5908 commit 589c189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/fs/zfs/sys/abd.h
Expand Up @@ -60,7 +60,7 @@ extern boolean_t zfs_abd_scatter_enabled;
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);
}

/*
Expand Down

0 comments on commit 589c189

Please sign in to comment.