diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2006-06-10 19:02:13 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2006-06-10 19:02:13 +0000 |
commit | 490f186b62e6fa1e644999932316a681631722ae (patch) | |
tree | 2dd3222f80b705d046a6dba2e3bd6041ad423c5e | |
parent | cbe2bd55ad7d0bd0ae26b0bd453ee9ba374d683a (diff) | |
download | src-490f186b62e6fa1e644999932316a681631722ae.tar.gz src-490f186b62e6fa1e644999932316a681631722ae.zip |
Do not call vput() after we call VOP_UNLOCK().
Notes
Notes:
svn path=/head/; revision=159488
-rw-r--r-- | sys/gnu/fs/xfs/FreeBSD/xfs_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_super.c b/sys/gnu/fs/xfs/FreeBSD/xfs_super.c index d01ff4e08372..f840297e409f 100644 --- a/sys/gnu/fs/xfs/FreeBSD/xfs_super.c +++ b/sys/gnu/fs/xfs/FreeBSD/xfs_super.c @@ -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; |