diff options
Diffstat (limited to 'zfs/lib/libzpool/vdev.c')
-rw-r--r-- | zfs/lib/libzpool/vdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zfs/lib/libzpool/vdev.c b/zfs/lib/libzpool/vdev.c index 16a27e514..e7408daf2 100644 --- a/zfs/lib/libzpool/vdev.c +++ b/zfs/lib/libzpool/vdev.c @@ -1578,7 +1578,7 @@ vdev_sync_done(vdev_t *vd, uint64_t txg) { metaslab_t *msp; - while (msp = txg_list_remove(&vd->vdev_ms_list, TXG_CLEAN(txg))) + while ((msp = txg_list_remove(&vd->vdev_ms_list, TXG_CLEAN(txg)))) metaslab_sync_done(msp, txg); } |