Collect the VN_KNOTE() macro definitions on vnode.h
This commit is contained in:
parent
5a7ed3fb13
commit
e8b26e995e
@ -152,6 +152,10 @@ struct vnode {
|
||||
vn_pollevent((vp), (events)); \
|
||||
} while (0)
|
||||
|
||||
#define VN_KNOTE(vp, b) \
|
||||
KNOTE(&vp->v_pollinfo.vpi_selinfo.si_note, (b))
|
||||
|
||||
|
||||
/*
|
||||
* Vnode flags.
|
||||
*/
|
||||
|
@ -53,9 +53,6 @@
|
||||
#include <ufs/ufs/ufsmount.h>
|
||||
#include <ufs/ufs/ufs_extern.h>
|
||||
|
||||
#define VN_KNOTE(vp, b) \
|
||||
KNOTE(&vp->v_pollinfo.vpi_selinfo.si_note, (b))
|
||||
|
||||
#ifdef UFS_ACL
|
||||
|
||||
/*
|
||||
|
@ -50,9 +50,6 @@
|
||||
#include <sys/event.h>
|
||||
#include <sys/vmmeter.h>
|
||||
|
||||
#define VN_KNOTE(vp, b) \
|
||||
KNOTE((struct klist *)&vp->v_pollinfo.vpi_selinfo.si_note, (b))
|
||||
|
||||
/*
|
||||
* Vnode op for reading.
|
||||
*/
|
||||
|
@ -133,8 +133,6 @@ union _qcvt {
|
||||
tmp.val[_QUAD_LOWWORD] = (l); \
|
||||
(q) = tmp.qcvt; \
|
||||
}
|
||||
#define VN_KNOTE(vp, b) \
|
||||
KNOTE(&vp->v_pollinfo.vpi_selinfo.si_note, (b))
|
||||
|
||||
/*
|
||||
* A virgin directory (no blushing please).
|
||||
|
Loading…
Reference in New Issue
Block a user