diff options
-rw-r--r-- | module/zfs/abd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/abd.c b/module/zfs/abd.c index ffee9a5f8..d14564b33 100644 --- a/module/zfs/abd.c +++ b/module/zfs/abd.c @@ -695,7 +695,7 @@ abd_free(abd_t *abd) abd_t * abd_alloc_sametype(abd_t *sabd, size_t size) { - boolean_t is_metadata = (sabd->abd_flags | ABD_FLAG_META) != 0; + boolean_t is_metadata = (sabd->abd_flags & ABD_FLAG_META) != 0; if (abd_is_linear(sabd)) { return (abd_alloc_linear(size, is_metadata)); } else { |