diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-22 05:11:37 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-22 05:11:37 +0000 |
commit | d1a968fbe74fd6fc3709024cb8e1249e4df1fc04 (patch) | |
tree | 49526b280b17c337e273a68b85e15e12603b7cb8 /sys/dev/softraidvar.h | |
parent | 25d444466a2b1951f2441ec786d421753acf3aed (diff) |
Move sr_dump from the RAID5 code into shared code. Rename it to
sr_dump_block and place it under the debug define in the process.
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r-- | sys/dev/softraidvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h index eb0044f63be..5f7d31c60d3 100644 --- a/sys/dev/softraidvar.h +++ b/sys/dev/softraidvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: softraidvar.h,v 1.151 2014/01/22 04:24:29 jsing Exp $ */ +/* $OpenBSD: softraidvar.h,v 1.152 2014/01/22 05:11:36 jsing Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -730,6 +730,7 @@ struct sr_chunk * sr_crypto_create_key_disk(struct sr_discipline *, dev_t); struct sr_chunk * sr_crypto_read_key_disk(struct sr_discipline *, dev_t); #ifdef SR_DEBUG +void sr_dump_block(void *, int); void sr_dump_mem(u_int8_t *, int); #endif |