aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/spa.c
diff options
context:
space:
mode:
authorloli10K <loli10K@users.noreply.github.com>2019-09-16 17:46:02 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2019-09-16 17:46:02 +0000
commitb24771a8c9e4752456a2db69476388fb45a3f751 (patch)
treedea99b2d82703eaa4db19d7c87c134f5fb8d09b8 /module/zfs/spa.c
parent7e15647ce9f404525eaa37c2bb95705f0caecd8a (diff)
downloadsrc-b24771a8c9e4752456a2db69476388fb45a3f751.tar.gz
src-b24771a8c9e4752456a2db69476388fb45a3f751.zip
Diffstat (limited to 'module/zfs/spa.c')
-rw-r--r--module/zfs/spa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa.c b/module/zfs/spa.c
index 0f1a2a9eb38c..7e5c474eb2e2 100644
--- a/module/zfs/spa.c
+++ b/module/zfs/spa.c
@@ -9465,7 +9465,7 @@ spa_wait_common(const char *pool, zpool_wait_activity_t activity,
error = spa_activity_in_progress(spa, activity, use_tag, tag,
&in_progress);
- if (!in_progress || spa->spa_waiters_cancel || error)
+ if (error || !in_progress || spa->spa_waiters_cancel)
break;
*waited = B_TRUE;