aboutsummaryrefslogtreecommitdiff
path: root/contrib/unvis/(public-mirror)
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-07-18 14:25:28 +0000
committerMark Johnston <markj@FreeBSD.org>2025-07-18 14:25:28 +0000
commitaf0ec3fa29cad823d0196538381f1e832f5974a7 (patch)
tree83ad4752c9fa94a609f01486adae8e3dc72eca25 /contrib/unvis/(public-mirror)
parenta86b5a2cba3c205e1d96a9dff0c150e1815306f3 (diff)
inotify: Fix a couple of locking bugsHEADmain
When hooking vop_rename_post(), the preexisting dst vnode will be unlocked. But, we need to invoke VOP_GETATTR on it in vn_inotify() to check its link count. In inotify_unlink_watch_locked(), the vnode interlock is not held, so don't use vn_irflag_unset_locked(). Reviewed by: kib Fixes: f1f230439fa4 ("vfs: Initial revision of inotify") Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D51401
Diffstat (limited to 'contrib/unvis/(public-mirror)')
0 files changed, 0 insertions, 0 deletions