[Bug 299241] inotify watches make unmount(2) fail with EBUSY

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Oct 2026 14:32:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299241

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Hmm, right, inotify will bump the usecount on a watched vnode, which prevents
unmount (but forced unmount will work).

I guess we could downgrade that to a hold, but then we also need to make sure
that vnlru won't purge watched files/directories.

-- 
You are receiving this mail because:
You are the assignee for the bug.