Lock leakage on rename if vop->vop_rename is NULL (kern/107439)

Mikolaj Golub to.my.trociny at gmail.com
Fri Apr 2 07:10:07 UTC 2010


Hi,

Could somebody look at kern/107439? Although the pr is closed the issue still
persists: if a file system does not provide vop_rename the vop_bypass() is
called and the vnods, which are expected to be unlocked in VOP_RENAME(), are
left locked.

I have attached there the patch that solves the problem but I am not confident
about the solution.

-- 
Mikolaj Golub


More information about the freebsd-fs mailing list