Collect the VN_KNOTE() macro definitions on vnode.h

This commit is contained in:
Poul-Henning Kamp 2002-02-17 21:07:57 +00:00
parent 5a7ed3fb13
commit e8b26e995e
4 changed files with 4 additions and 8 deletions

View File

@ -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.
*/

View File

@ -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
/*

View File

@ -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.
*/

View File

@ -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).