Amit Kulkarni([email protected]) on 2018.10.20 23:54:34 -0500:
> Hi,
> 
> After reading VOP_LOOKUP.9 based on recent commit, a try to remove some dead 
> code in VFS.
> https://marc.info/?l=openbsd-cvs&m=153886730207657&w=2
> 
> VFSLCKDEBUG is not defined anywhere. It is misleading to read in
> sys/kern/vfs_vops.c that ASSERT_VP_ISLOCKED(dvp) is being checked, when in
> fact, it is just dead code.

But you can build the kernel with -DVFSLCKDEBUG=1 to enable the debug code.

Reply via email to