[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: extended attributes (need help)
On Mon, Jun 13, 2011 at 09:58:34PM +0200, Emmanuel Dreyfus wrote:
> David Laight <david%l8s.co.uk@localhost> wrote:
> > > Solution is to test for vp->v_vflag & VV_ROOT and unlock the vnode
> > > before calling vn_open or namei, and relocking it afterwards.
> > Is that valid - I assume the root vnode is locked for a reason,
> > you can't just unlock it because a routine you need to call wants
> > to lock it again.
> Here is the code path:
> *** VOP_UNLOCK added here ***
^^^^^^^ whoah. Why?
If it's to find the extended-attribute database -- don't do that.
Use a reserved inode like LFS does for the ifile.
Main Index |
Thread Index |