BUF_UNLOCK9
Unlocks a locked buffer
Usage
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/uio.h>
#include <sys/bio.h>
#include <sys/buf.h>
void
BUF_UNLOCK(struct buf *bp);
Overview
The BUF_UNLOCK() function unlocks a buffer that was previously locked with BUF_LOCK() or BUF_TIMELOCK().
Its argument is:
- bp
-
The buffer to unlock. The buffer must already be locked.