Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Apr 2010 10:10:02 +0300
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        freebsd-fs@FreeBSD.org
Cc:        Eugene Grosbein <eugen@grosbein.pp.ru>
Subject:   Lock leakage on rename if vop->vop_rename is NULL (kern/107439)
Message-ID:  <86sk7e1gad.fsf@zhuzha.ua1>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86sk7e1gad.fsf>