Change two vput() that should have been vrele().
Submitted by: iedowse
This commit is contained in:
parent
b501b9b5c1
commit
e9e705b0df
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96996
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user