summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/unionfs/union_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index 061696a..0379235 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -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.
*/
OpenPOWER on IntegriCloud