git: 83dd4a9252fd - vendor/openzfs - Update OpenZFS to master-436ab35a5
Martin Matuska
mm at FreeBSD.org
Mon Feb 15 23:34:41 UTC 2021
The branch vendor/openzfs has been updated by mm:
URL: https://cgit.FreeBSD.org/src/commit/?id=83dd4a9252fd2044038a399d7afc68259d483b8e
commit 83dd4a9252fd2044038a399d7afc68259d483b8e
Author: Martin Matuska <mm at FreeBSD.org>
AuthorDate: 2021-02-15 23:33:50 +0000
Commit: Martin Matuska <mm at FreeBSD.org>
CommitDate: 2021-02-15 23:33:50 +0000
Update OpenZFS to master-436ab35a5
---
include/sys/abd.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/sys/abd.h b/include/sys/abd.h
index 55db8c1a05bd..a7eee89ca916 100644
--- a/include/sys/abd.h
+++ b/include/sys/abd.h
@@ -177,19 +177,19 @@ abd_zero(abd_t *abd, size_t size)
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) ? B_TRUE : B_FALSE);
}
static inline boolean_t
abd_is_linear_page(abd_t *abd)
{
- return ((abd->abd_flags & ABD_FLAG_LINEAR_PAGE) != 0);
+ return ((abd->abd_flags & ABD_FLAG_LINEAR_PAGE) ? B_TRUE : B_FALSE);
}
static inline boolean_t
abd_is_gang(abd_t *abd)
{
- return ((abd->abd_flags & ABD_FLAG_GANG) != 0);
+ return ((abd->abd_flags & ABD_FLAG_GANG) ? B_TRUE : B_FALSE);
}
static inline uint_t
More information about the dev-commits-src-all
mailing list