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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90790
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).