diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-05-08 16:38:14 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-05-08 16:38:14 +0000 |
| commit | 258dbbab697234e6bd221e73c885c09257867980 (patch) | |
| tree | 028d26c4de16c8840405e8e633721e2a800de19d /sys/dev/ata/ata-raid.c | |
| parent | f8f4e476100ac97549026b93e70522ec3fe8f51f (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata/ata-raid.c')
| -rw-r--r-- | sys/dev/ata/ata-raid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 403db8871e46..8e13c630b0ab 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -969,6 +969,7 @@ ar_rebuild(void *arg) int disk, s, count = 0, error = 0; caddr_t buffer; + mtx_lock(&Giant); if ((rdp->flags & (AR_F_READY|AR_F_DEGRADED)) != (AR_F_READY|AR_F_DEGRADED)) kthread_exit(EEXIST); |
