summaryrefslogtreecommitdiffstats
path: root/module/zfs/dsl_synctask.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-08-26 09:52:42 -0700
committerBrian Behlendorf <[email protected]>2010-08-31 08:38:35 -0700
commitc65aa5b2b9c48375ea1c451f252f0056e16f4e49 (patch)
tree03a6eb1b280faaa39af0a2be5d39cd7178d91c42 /module/zfs/dsl_synctask.c
parente75c13c353571efaa9b4e047f16969ec13a518f5 (diff)
Fix gcc missing parenthesis warnings
Gcc -Wall warn: 'missing parenthesis' Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/dsl_synctask.c')
-rw-r--r--module/zfs/dsl_synctask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dsl_synctask.c b/module/zfs/dsl_synctask.c
index b0818ce27..977702912 100644
--- a/module/zfs/dsl_synctask.c
+++ b/module/zfs/dsl_synctask.c
@@ -147,7 +147,7 @@ dsl_sync_task_group_destroy(dsl_sync_task_group_t *dstg)
{
dsl_sync_task_t *dst;
- while (dst = list_head(&dstg->dstg_tasks)) {
+ while ((dst = list_head(&dstg->dstg_tasks))) {
list_remove(&dstg->dstg_tasks, dst);
kmem_free(dst, sizeof (dsl_sync_task_t));
}