Nandfs use of MNT_VNODE_FOREACH

Mateusz Guzik mjguzik at gmail.com
Mon Dec 31 16:25:55 UTC 2012


On Mon, Dec 31, 2012 at 05:21:45PM +0100, Mateusz Guzik wrote:
> Can you adjust this function so that 'if (mp->mnt_syncer == vp)'
> performs VI_UNLOCK as well?
> 
> Something like:
> if (mp->mnt_syncer == vp || VOP_ISLOCKED(vp)) {
> 	VI_UNLOCK(mp);
> 	continue;
> }
> 
> I will have time to dig into this next week.

Err.. I meant VI_UNLOCK(vp).

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the freebsd-fs mailing list