mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Collect the VN_KNOTE() macro definitions on vnode.h
This commit is contained in:
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
|
@ -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 a new issue