]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - module/zfs/bplist.c
Fix gcc missing parenthesis warnings
[mirror_zfs-debian.git] / module / zfs / bplist.c
index 066ccc6b1e052e5bdefc99fa252d1bca55b5c178..5d1cf7e7631296cc8bf00db25690b45e208c865b 100644 (file)
@@ -58,7 +58,7 @@ bplist_iterate(bplist_t *bpl, bplist_itor_t *func, void *arg, dmu_tx_t *tx)
        bplist_entry_t *bpe;
 
        mutex_enter(&bpl->bpl_lock);
-       while (bpe = list_head(&bpl->bpl_list)) {
+       while ((bpe = list_head(&bpl->bpl_list))) {
                list_remove(&bpl->bpl_list, bpe);
                mutex_exit(&bpl->bpl_lock);
                func(arg, &bpe->bpe_blk, tx);