diff options
author | 2009-11-24 02:19:35 +0000 | |
---|---|---|
committer | 2009-11-24 02:19:35 +0000 | |
commit | c644637062560e73e7ea607fb73bd7262cffb1c3 (patch) | |
tree | d17858cee67c1fb73dd0a022ee5b22d691ea8c80 /sys/dev/softraid.c | |
parent | Factor out crypto code allowing for future reuse. (diff) | |
download | wireguard-openbsd-c644637062560e73e7ea607fb73bd7262cffb1c3.tar.xz wireguard-openbsd-c644637062560e73e7ea607fb73bd7262cffb1c3.zip |
Allow the passphrase to be changed on softraid crypto volumes. Ensure that
you backup your data and lock up your pets prior to using this.
Tested by todd@
ok marco@
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index d6c269a9bc7..bc61449e7ed 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.181 2009/11/23 16:33:59 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.182 2009/11/24 02:19:35 jsing Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -116,8 +116,6 @@ void sr_shutdown(void *); void sr_uuid_get(struct sr_uuid *); void sr_uuid_print(struct sr_uuid *, int); void sr_checksum_print(u_int8_t *); -void sr_checksum(struct sr_softc *, void *, void *, - u_int32_t); int sr_boot_assembly(struct sr_softc *); int sr_already_assembled(struct sr_discipline *); int sr_hotspare(struct sr_softc *, dev_t); @@ -144,7 +142,6 @@ int sr_meta_rw(struct sr_discipline *, dev_t, void *, size_t, daddr64_t, long); int sr_meta_clear(struct sr_discipline *); int sr_meta_read(struct sr_discipline *); -int sr_meta_save(struct sr_discipline *, u_int32_t); int sr_meta_validate(struct sr_discipline *, dev_t, struct sr_metadata *, void *); void sr_meta_chunks_create(struct sr_softc *, |