diff options
author | 2012-10-08 14:22:41 +0000 | |
---|---|---|
committer | 2012-10-08 14:22:41 +0000 | |
commit | 7c003ea364c6494cf1a7618354a9be1f3dce43db (patch) | |
tree | 1ea61cffb6d724d00d77a05134f102adcaf6d88f /sys/dev/softraid_raid0.c | |
parent | If we have booted from a disk that is a member of a bootable softraid (diff) | |
download | wireguard-openbsd-7c003ea364c6494cf1a7618354a9be1f3dce43db.tar.xz wireguard-openbsd-7c003ea364c6494cf1a7618354a9be1f3dce43db.zip |
Provide a mechanism for the kernel to pass data through to the discipline
during volume assembly.
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r-- | sys/dev/softraid_raid0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c index a686fef700e..61f36c573dc 100644 --- a/sys/dev/softraid_raid0.c +++ b/sys/dev/softraid_raid0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid0.c,v 1.26 2012/01/22 11:13:32 jsing Exp $ */ +/* $OpenBSD: softraid_raid0.c,v 1.27 2012/10/08 14:22:41 jsing Exp $ */ /* * Copyright (c) 2008 Marco Peereboom <marco@peereboom.us> * @@ -47,7 +47,7 @@ int sr_raid0_create(struct sr_discipline *, struct bioc_createraid *, int, int64_t); int sr_raid0_assemble(struct sr_discipline *, struct bioc_createraid *, - int); + int, void *); int sr_raid0_alloc_resources(struct sr_discipline *); int sr_raid0_free_resources(struct sr_discipline *); int sr_raid0_rw(struct sr_workunit *); @@ -98,7 +98,7 @@ sr_raid0_create(struct sr_discipline *sd, struct bioc_createraid *bc, int sr_raid0_assemble(struct sr_discipline *sd, struct bioc_createraid *bc, - int no_chunks) + int no_chunks, void *data) { sd->sd_max_ccb_per_wu = |