]> granicus.if.org Git - zfs/commitdiff
Add extra () requested by gcc
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 20 Mar 2009 04:18:54 +0000 (21:18 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 20 Mar 2009 04:18:54 +0000 (21:18 -0700)
module/zfs/dmu_tx.c

index 0af089198c4526956d1991b34557d53540e9d9d1..a9bc1e6ac1fa73bfa47c9f5395cfd193f3e7e678 100644 (file)
@@ -1103,7 +1103,7 @@ dmu_tx_callback(list_t *cb_list, int error)
 {
        dmu_tx_callback_t *dcb;
 
-       while (dcb = list_head(cb_list)) {
+       while ((dcb = list_head(cb_list))) {
                list_remove(cb_list, dcb);
                dcb->dcb_func(dcb->dcb_data, error);
                kmem_free(dcb, sizeof (dmu_tx_callback_t));