BUF_LOCKFREE9
Destroys a buffer's lock
Usage
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/uio.h>
#include <sys/bio.h>
#include <sys/buf.h>
void
BUF_LOCKFREE(struct buf *bp);
Overview
The BUF_LOCKFREE() macro destroys the buffer lock. The lock must not be held when this macro is called or a panic will result.
Its argument is:
- bp
-
The buffer whose lock is to be destroyed.