summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-02-05 16:49:26 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-02-05 16:49:26 +0000
commit6efcb5353e2a858c7b4ce8ea28567db393411616 (patch)
treedb78619bdc43d1da9b3e9c7227091a65b24cf65a /sys/dev/softraidvar.h
parent160689e7f2fa5c1b58b2a09c19be1a697f55235d (diff)
Shave off a few more bytes by moving IO collision detection into a generic
fucntion. Fix bug in the crypto code that could casuse data corruption as a bonus, bad cut & past tedu!
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index 34b65d29253..1d6aa3bf2e3 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.42 2008/02/05 16:15:35 marco Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.43 2008/02/05 16:49:25 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -367,6 +367,7 @@ int32_t sr_validate_stripsize(u_int32_t);
void sr_save_metadata_callback(void *, void *);
int sr_validate_io(struct sr_workunit *, daddr64_t *,
char *);
+int sr_check_io_collision(struct sr_workunit *);
/* discipline functions */
int sr_raid_inquiry(struct sr_workunit *);