git: ce6cc3b30a80 - stable/15 - sys/mount.h: restore KNF_NOKQLOCK in VFS_KNOTE_{,UN}LOCKED() call to KNOTE()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jun 2026 10:16:04 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=ce6cc3b30a8076376f82b7ea956ce6ca5c4202c3
commit ce6cc3b30a8076376f82b7ea956ce6ca5c4202c3
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-16 19:11:43 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-21 10:05:31 +0000
sys/mount.h: restore KNF_NOKQLOCK in VFS_KNOTE_{,UN}LOCKED() call to KNOTE()
(cherry picked from commit 43a8585cb2bb0e284df672174a57780e53107d27)
---
sys/sys/mount.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index c96ce7d7b080..7e56d4b90b0e 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -968,8 +968,8 @@ static inline void
VFS_KNOTE_LOCKED(struct vnode *vp, int hint)
{
if ((vn_irflag_read(vp) & VIRF_KNOTE) != 0) {
- KNOTE_LOCKED(&vp->v_pollinfo->vpi_selinfo.si_note,
- hint);
+ KNOTE(&vp->v_pollinfo->vpi_selinfo.si_note,
+ hint, KNF_LISTLOCKED | KNF_NOKQLOCK);
}
}
@@ -977,8 +977,8 @@ static inline void
VFS_KNOTE_UNLOCKED(struct vnode *vp, int hint)
{
if ((vn_irflag_read(vp) & VIRF_KNOTE) != 0) {
- KNOTE_UNLOCKED(&vp->v_pollinfo->vpi_selinfo.si_note,
- hint);
+ KNOTE(&vp->v_pollinfo->vpi_selinfo.si_note,
+ hint, KNF_NOKQLOCK);
}
}