rf_FreeAccessStripeMapComponent() goes too. Thanks Krister!
This commit is contained in:
parent
ce8b221a5e
commit
ce38eb4f8c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rf_map.c,v 1.16 2002/09/21 01:12:50 oster Exp $ */
|
||||
/* $NetBSD: rf_map.c,v 1.17 2002/09/21 01:14:22 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
@ -33,7 +33,7 @@
|
||||
**************************************************************************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.16 2002/09/21 01:12:50 oster Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.17 2002/09/21 01:14:22 oster Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
@ -447,13 +447,6 @@ rf_AllocASMList(count)
|
||||
return (p);
|
||||
}
|
||||
|
||||
void
|
||||
rf_FreeAccessStripeMapComponent(p)
|
||||
RF_AccessStripeMap_t *p;
|
||||
{
|
||||
RF_FREELIST_FREE(rf_asm_freelist, p, next);
|
||||
}
|
||||
|
||||
static void
|
||||
rf_FreeASMList(l_start, l_end, count)
|
||||
RF_AccessStripeMap_t *l_start, *l_end;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rf_map.h,v 1.6 2002/09/21 01:12:49 oster Exp $ */
|
||||
/* $NetBSD: rf_map.h,v 1.7 2002/09/21 01:14:22 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
@ -60,8 +60,6 @@ void rf_FreePhysDiskAddr(RF_PhysDiskAddr_t * p);
|
||||
|
||||
RF_AccessStripeMap_t *rf_AllocASMList(int count);
|
||||
|
||||
void rf_FreeAccessStripeMapComponent(RF_AccessStripeMap_t * p);
|
||||
|
||||
void rf_FreeAccessStripeMap(RF_AccessStripeMapHeader_t * hdr);
|
||||
|
||||
int rf_CheckStripeForFailures(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap);
|
||||
|
Loading…
Reference in New Issue
Block a user