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
This commit is contained in:
parent
1f6ec6407c
commit
1b42caf41d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user