diff options
author | daichi <daichi@FreeBSD.org> | 2007-10-14 13:52:01 +0000 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2007-10-14 13:52:01 +0000 |
commit | 1b42caf41d1d43a90f367a8fd9f28ce39c01aa81 (patch) | |
tree | 87db81cb4a4a943bdf2654a9dba079b67e8a8003 /sys | |
parent | 1f6ec6407c416255ffb5b76182a231f71eecb26b (diff) | |
download | FreeBSD-src-1b42caf41d1d43a90f367a8fd9f28ce39c01aa81.zip FreeBSD-src-1b42caf41d1d43a90f367a8fd9f28ce39c01aa81.tar.gz |
Fixed un-vrele issue of upper layer root vnode of unionfs.
Submitted by: Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by: jeff, kensmith
Approved by: re (kensmith)
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/unionfs/union_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index 34e3900..5066165 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); |