MFC:
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)
This commit is contained in:
parent
0fb12d7a9a
commit
f57250af76
@ -330,8 +330,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…
x
Reference in New Issue
Block a user