summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raidp.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-08 14:22:42 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-08 14:22:42 +0000
commit5b2a45ea0d47f6fee606b25f02c4295e6eb9a225 (patch)
treede02269d0757652435b6abd7d1d00c041ef623e2 /sys/dev/softraid_raidp.c
parentd761a819b77d84f1dff67e475b61fc7afaf73b86 (diff)
Provide a mechanism for the kernel to pass data through to the discipline
during volume assembly.
Diffstat (limited to 'sys/dev/softraid_raidp.c')
-rw-r--r--sys/dev/softraid_raidp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_raidp.c b/sys/dev/softraid_raidp.c
index f121cc0c404..0738b74e644 100644
--- a/sys/dev/softraid_raidp.c
+++ b/sys/dev/softraid_raidp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raidp.c,v 1.23 2011/12/25 15:28:17 jsing Exp $ */
+/* $OpenBSD: softraid_raidp.c,v 1.24 2012/10/08 14:22:41 jsing Exp $ */
/*
* Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2009 Jordan Hargrave <jordan@openbsd.org>
@@ -48,7 +48,7 @@
int sr_raidp_create(struct sr_discipline *, struct bioc_createraid *,
int, int64_t);
int sr_raidp_assemble(struct sr_discipline *, struct bioc_createraid *,
- int);
+ int, void *);
int sr_raidp_alloc_resources(struct sr_discipline *);
int sr_raidp_free_resources(struct sr_discipline *);
int sr_raidp_rw(struct sr_workunit *);
@@ -116,7 +116,7 @@ sr_raidp_create(struct sr_discipline *sd, struct bioc_createraid *bc,
int
sr_raidp_assemble(struct sr_discipline *sd, struct bioc_createraid *bc,
- int no_chunk)
+ int no_chunk, void *data)
{
return 0;