summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2011-09-20 12:20:45 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2011-09-20 12:20:45 +0000
commitae17da70d201e05e4725e35d1de27a2d1ff7ea1c (patch)
tree95c767ccc8ebc89ddf432f772ffab4bb4238fb31 /sys
parent8a912ac5f244e950920926bab62c380038b02b90 (diff)
Mark softraid crypto volumes as being capable of auto assembly, since they
are if used with a key disk.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/softraid_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c
index 409dfc0f004..270b6ba855a 100644
--- a/sys/dev/softraid_crypto.c
+++ b/sys/dev/softraid_crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_crypto.c,v 1.74 2011/09/20 12:19:22 jsing Exp $ */
+/* $OpenBSD: softraid_crypto.c,v 1.75 2011/09/20 12:20:44 jsing Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Hans-Joerg Hoexer <hshoexer@openbsd.org>
@@ -114,7 +114,7 @@ sr_crypto_discipline_init(struct sr_discipline *sd)
/* Fill out discipline members. */
sd->sd_type = SR_MD_CRYPTO;
- sd->sd_capabilities = SR_CAP_SYSTEM_DISK;
+ sd->sd_capabilities = SR_CAP_SYSTEM_DISK | SR_CAP_AUTO_ASSEMBLE;
sd->sd_max_wu = SR_CRYPTO_NOWU;
for (i = 0; i < SR_CRYPTO_MAXKEYS; i++)