aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pst
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2009-08-02 14:28:40 +0000
committerAttilio Rao <attilio@FreeBSD.org>2009-08-02 14:28:40 +0000
commit444b91868b5294e3a2151fffa3b063763a562448 (patch)
treec00d808d1df8000c2086c86613be9ec8536a5e28 /sys/dev/pst
parentd40b91cb1354e9bae491567cc88c215eda16d649 (diff)
Notes
Diffstat (limited to 'sys/dev/pst')
-rw-r--r--sys/dev/pst/pst-iop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pst/pst-iop.c b/sys/dev/pst/pst-iop.c
index d4e83f01ecbe..3fa37fdbfd31 100644
--- a/sys/dev/pst/pst-iop.c
+++ b/sys/dev/pst/pst-iop.c
@@ -152,7 +152,9 @@ iop_attach(void *arg)
break;
case I2O_CLASS_RANDOM_BLOCK_STORAGE:
+ newbus_xlock();
pst_add_raid(sc, &sc->lct[i]);
+ newbus_xunlock();
break;
}
}