tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Vnode API change: VOP_LOOKUP



On Thu, Feb 06, 2014 at 04:42:07PM +0000, Taylor R Campbell wrote:
 >    > One more question:  Are you planning to change relookup to return the
 >    > result unlocked, too?  That will enable us to get rid of some ick in
 >    > genfs_rename users.
 > 
 >    I have no plans to do it -- I'm not even sure I want to touch any
 >    rename operation :-)
 > 
 > Heh, OK!  I guess dh or I will take care of that when we do next do
 > some namei or rename rototilling.  It will just let us get rid of an
 > extraneous lock/unlock cycle when looking up each child in rename.
 > (The other callers of relookup can just do a vn_lock right afterward.)

relookup should probably stay the same as namei (including/because of
various flag interactions)... however, there *are* no other callers of
relookup.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index