diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2011-07-06 17:32:48 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2011-07-06 17:32:48 +0000 |
commit | c20d6c3243d55487e27229660f94d832b077af15 (patch) | |
tree | c0e4397474177b7b77c0bb9e9c5db38ceba03f97 /sys/dev/softraidvar.h | |
parent | 310253e7fcab4d8fe72c7be76ecae1ae30afced6 (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.h | 4 |
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; |