diff options
author | Mark Johnston <markj@FreeBSD.org> | 2025-07-18 14:25:28 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2025-07-18 14:25:28 +0000 |
commit | af0ec3fa29cad823d0196538381f1e832f5974a7 (patch) | |
tree | 83ad4752c9fa94a609f01486adae8e3dc72eca25 /contrib/unvis/(public-mirror) | |
parent | a86b5a2cba3c205e1d96a9dff0c150e1815306f3 (diff) |
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