The inotify flags are copied from the lower vnode into the nullfs vnode
so that the INOTIFY() macro will invoke VOP_INOTIFY on the nullfs vnode;
this is then bypassed to the lower vnode. However, when a nullfs vnode
is reclaimed we should clear these flags, as the vnode is now doomed and
no longer forwards VOPs to the lower vnode.
Alernately we could add a dummy VOP_INOTIFY implementation to
dead_vnodeops, but I prefer this approach.
Add a regression test.
Fixes: f1f230439fa4 ("vfs: Initial revision of inotify")
PR: 292495
MFC after: 1 week