diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c index a916f7ef0..112b0e318 100644 --- a/module/spl/spl-kmem.c +++ b/module/spl/spl-kmem.c @@ -979,7 +979,7 @@ spl_slab_alloc(spl_kmem_cache_t *skc, int flags) sks->sks_ref = 0; obj_size = spl_obj_size(skc); - if (skc->skc_flags * KMC_OFFSLAB) + if (skc->skc_flags & KMC_OFFSLAB) offslab_size = spl_offslab_size(skc); for (i = 0; i < sks->sks_objs; i++) {