- 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:
parent
6c71a2208d
commit
d65736a1c0
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user