summaryrefslogtreecommitdiff
path: root/usr/src/lib/libstmf
diff options
context:
space:
mode:
authorJohn Forte <John.Forte@Sun.COM>2009-11-19 22:08:32 -0800
committerJohn Forte <John.Forte@Sun.COM>2009-11-19 22:08:32 -0800
commitcd36db67f9470c74ed7f5bbd57ec6eeb84f71fcd (patch)
tree9610ac1d0a5415be7c7fb97cfacb717e2be210b5 /usr/src/lib/libstmf
parentd1419d5a02eaedd520f925cd465fd62f3950ae43 (diff)
downloadillumos-joyent-cd36db67f9470c74ed7f5bbd57ec6eeb84f71fcd.tar.gz
6900698 port providers should not passively participate in ALUA
6903022 stmfSetAluaState() is deleting non-active LUs when state is enabled
Diffstat (limited to 'usr/src/lib/libstmf')
-rw-r--r--usr/src/lib/libstmf/common/stmf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libstmf/common/stmf.c b/usr/src/lib/libstmf/common/stmf.c
index f38e52b224..f64396046b 100644
--- a/usr/src/lib/libstmf/common/stmf.c
+++ b/usr/src/lib/libstmf/common/stmf.c
@@ -5293,7 +5293,7 @@ stmfSetAluaState(boolean_t enabled, uint32_t node)
break;
}
}
- if (ret == STMF_STATUS_SUCCESS) {
+ if (!enabled && ret == STMF_STATUS_SUCCESS) {
deleteNonActiveLus();
}