Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 17:25:40 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Ronald Klop <ronald-freebsd8@klop.yi.org>
Cc:        gber@freebsd.org, cognet@freebsd.org, fs@freebsd.org
Subject:   Re: Nandfs use of MNT_VNODE_FOREACH
Message-ID:  <20121231162540.GB29588@dft-labs.eu>
In-Reply-To: <20121231162145.GA29588@dft-labs.eu>
References:  <20121227230223.GN82219@kib.kiev.ua> <op.wp6d7vdo8527sy@212-182-167-131.ip.telfort.nl> <20121231162145.GA29588@dft-labs.eu>

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



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