mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Do not call vput() after we call VOP_UNLOCK().
This commit is contained in:
parent
cbe2bd55ad
commit
490f186b62
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159488
@ -182,11 +182,11 @@ xfs_blkdev_get(
|
||||
g_topology_unlock();
|
||||
PICKUP_GIANT();
|
||||
|
||||
VOP_UNLOCK(devvp, 0, td);
|
||||
if (error) {
|
||||
vput(devvp);
|
||||
return (error);
|
||||
}
|
||||
VOP_UNLOCK(devvp, 0, td);
|
||||
|
||||
devvp->v_bufobj.bo_private = cp;
|
||||
devvp->v_bufobj.bo_ops = &xfs_bo_ops;
|
||||
|
Loading…
Reference in New Issue
Block a user