Change two vput() that should have been vrele().

Submitted by:	iedowse
This commit is contained in:
Maxime Henrion 2002-05-20 14:59:43 +00:00
parent b501b9b5c1
commit e9e705b0df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96996
2 changed files with 4 additions and 4 deletions

View File

@ -547,7 +547,7 @@ vfs_nmount(td, fsflags, fsoptions)
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
vput(vp);
vrele(vp);
error = EOPNOTSUPP;
goto bad;
}
@ -895,7 +895,7 @@ vfs_mount(td, fstype, fspath, fsflags, fsdata)
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
vput(vp);
vrele(vp);
return (EOPNOTSUPP);
}

View File

@ -547,7 +547,7 @@ vfs_nmount(td, fsflags, fsoptions)
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
vput(vp);
vrele(vp);
error = EOPNOTSUPP;
goto bad;
}
@ -895,7 +895,7 @@ vfs_mount(td, fstype, fspath, fsflags, fsdata)
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
vput(vp);
vrele(vp);
return (EOPNOTSUPP);
}