summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2011-07-06 17:32:48 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2011-07-06 17:32:48 +0000
commitc20d6c3243d55487e27229660f94d832b077af15 (patch)
treec0e4397474177b7b77c0bb9e9c5db38ceba03f97 /sys/dev/softraidvar.h
parent310253e7fcab4d8fe72c7be76ecae1ae30afced6 (diff)
Use a single shutdown hook for the softraid controller instead of
having one per volume. ok marco@
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index bcdf56a720f..95a5dfbd90f 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.103 2011/07/06 15:44:11 jsing Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.104 2011/07/06 17:32:47 jsing Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -505,7 +505,6 @@ struct sr_discipline {
int sd_deleted;
struct device *sd_scsibus_dev;
- void (*sd_shutdownhook)(void *);
/* discipline volume */
struct sr_volume sd_vol; /* volume associated */
@@ -567,6 +566,7 @@ struct sr_softc {
struct device sc_dev;
int (*sc_ioctl)(struct device *, u_long, caddr_t);
+ void (*sc_shutdownhook)(void *);
struct rwlock sc_lock;