mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
- 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
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue