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

Mikolaj Golub to.my.trociny at gmail.com
Fri Apr 2 13:15:58 UTC 2010


On Fri, 2 Apr 2010 15:14:59 +0300 Kostik Belousov wrote:

 KB> On Fri, Apr 02, 2010 at 02:27:18PM +0300, Mikolaj Golub wrote:
 >> 
 >> On Fri, 2 Apr 2010 12:04:01 +0300 Kostik Belousov wrote:
 >> 
 >>  KB> Please test the patch below. If it works for you, I will combine
 >>  KB> deadfs_rename() and vop_norename().
 >> 
 >> Tested on today's 8.0-STABLE i386. Trying to move from/to/inside ntfs: no
 >> locking issues or problems with unmounting fs (and any other strange things)
 >> have been detected.

 KB> Great, thank you.

 KB> Below is the patch I intent to commit. Will be grateful if you sanity-check
 KB> it too.

Tested. It works for me.

-- 
Mikolaj Golub


More information about the freebsd-fs mailing list