- Set the v_object pointer after a successful VOP_OPEN(). This isn't a

perfect solution as the lower vm object can change at unpredictable times
   if our lower vp happens to be on another unionfs, etc.

Submitted by:	Oleg Sharoiko <os@rsu.ru>
This commit is contained in:
Jeff Roberson 2005-05-03 11:05:33 +00:00
parent 6c71a2208d
commit d65736a1c0

View File

@ -747,7 +747,8 @@ union_open(ap)
if (error == 0)
error = VOP_OPEN(tvp, mode, cred, td, -1);
if (error == 0)
ap->a_vp->v_object = tvp->v_object;
/*
* Release any locks held.
*/