CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2019/05/03 08:24:13

Modified files:
        sys/kern       : vfs_vops.c 

Log message:
Make VOP_ADVLOCK() safe to use without kernel lock

All non-dummy implementations of VOP_ADVLOCK() rely on lf_advlock()
which is now safe to use without the kernel lock. Because VOP_ADVLOCK()
does not make the vnode dirty, it is unnecessary to keep track of
in-flight vnode lock operations and the updating of vnode->v_inflight
can be dropped from VOP_ADVLOCK(). This makes VOP_ADVLOCK() safe to use
without the kernel lock.

OK tedu@ mpi@

Reply via email to