HomeFreeBSD

unlink, rmdir: call notify_upper from VOP pre method instead of syscall

Description

unlink, rmdir: call notify_upper from VOP pre method instead of syscall

Suppose that there are two or more nullfs mounts over some fs, and
suppose the we unlink a file on one of the nullfs mount.
This way notify_upper get called from the lower vnode as well, allowing
the other nullfs mounts to note that and drop their caches for the
unlinked vnode.

PR: 254210
Reviewed by: olce
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D48825

Details

Provenance
kibAuthored on Tue, Feb 4, 12:23 AM
Reviewer
olce
Differential Revision
D48825: unlink, rmdir: call notify_upper from VOP pre method instead of syscall
Parents
rGf16ca171eaad: man: Remove references to classful networks
Branches
Unknown
Tags
Unknown