From fed604c8446aa69c17c11c9a07e81a51ebd09f44 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 19 Mar 2009 21:18:54 -0700 Subject: [PATCH] Add extra () requested by gcc --- module/zfs/dmu_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/dmu_tx.c b/module/zfs/dmu_tx.c index 0af089198..a9bc1e6ac 100644 --- a/module/zfs/dmu_tx.c +++ b/module/zfs/dmu_tx.c @@ -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)); -- 2.40.0