git: 0c85df006514 - main - vop_read_pgcache_post(): the vnode is unlocked
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 May 2026 03:12:56 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0c85df0065146516d5bacfc80d52d9ee6b33b96d
commit 0c85df0065146516d5bacfc80d52d9ee6b33b96d
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-22 03:07:59 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-05-22 03:07:59 +0000
vop_read_pgcache_post(): the vnode is unlocked
Reported by: markj
Fixes: e9a5eb0e5e44 ("vop_read_pgcache_post(): report inotify IN_ACCESS same as for vop_read_post()")
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/kern/vfs_subr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 848d3ac767f3..65529bc195bb 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -6521,7 +6521,7 @@ vop_read_pgcache_post(void *ap, int rc)
struct vop_read_pgcache_args *a = ap;
if (rc == 0) {
- VFS_KNOTE_LOCKED(a->a_vp, NOTE_READ);
+ VFS_KNOTE_UNLOCKED(a->a_vp, NOTE_READ);
INOTIFY(a->a_vp, IN_ACCESS);
}
}