summaryrefslogtreecommitdiff
path: root/sys/fs/unionfs
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2007-10-14 13:52:01 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2007-10-14 13:52:01 +0000
commit7d72c5e67dfcd5ff94106d89a72e2c966d1e6935 (patch)
tree87db81cb4a4a943bdf2654a9dba079b67e8a8003 /sys/fs/unionfs
parent6c98d0e9db548ed4f67e22c6f99ebf6318aae781 (diff)
Notes
Diffstat (limited to 'sys/fs/unionfs')
-rw-r--r--sys/fs/unionfs/union_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c
index 34e390085e13..50661651d701 100644
--- a/sys/fs/unionfs/union_vfsops.c
+++ b/sys/fs/unionfs/union_vfsops.c
@@ -329,8 +329,8 @@ unionfs_domount(struct mount *mp, struct thread *td)
*/
error = unionfs_nodeget(mp, ump->um_uppervp, ump->um_lowervp,
NULLVP, &(ump->um_rootvp), NULL, td);
+ vrele(upperrootvp);
if (error) {
- vrele(upperrootvp);
free(ump, M_UNIONFSMNT);
mp->mnt_data = NULL;
return (error);