/*static char *SCCSID = "@(#)relioh.c	6.2 92/01/31";*/

#include <os2def16.h>
#include <strat2.h>

#include "const.h"
#include "misc.h"
#include "buf.h"
#include "chain.h"
#include "dir.h"
#include "volume.h"
#include "storage.h"
#include "tables.h"
#include "frame.h"
#include "asyncio.h"
#include "heap.h"

#include "pr_heap.h"
#include "pr_misc.h"

/*
 * VOID RelIOHand( pioh );
 *
 * Called when finished using an I/O handle from GetIOHand()
 *
 * Parameter:
 *     pioh	   Pointer to I/O Handle obtained from GetIOHand()
 *
 * RelIOHand releases any reserved command-chain buffers that were reserved
 * by GetIOHand.  Note that RelIOHand does NOT call ExecIOH before releasing
 * the buffer.  RelIOHand can be called in an interrupt context.
 */
VOID RelIOHand( PIOH pioh ) {

#ifdef DEBUG
    if( pioh->plhChain != NULL )
	INTERR( __FILE__": PIOH might have locked pages" );
#endif

    RetHeap( pioh );

}
