diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2006-06-10 19:02:13 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2006-06-10 19:02:13 +0000 |
commit | 8ef0ef581a3437eff73043261740eeef318da550 (patch) | |
tree | 2dd3222f80b705d046a6dba2e3bd6041ad423c5e /sys/gnu | |
parent | f6e61fa1d6a8a222351596230df0d483323cf474 (diff) | |
download | FreeBSD-src-8ef0ef581a3437eff73043261740eeef318da550.zip FreeBSD-src-8ef0ef581a3437eff73043261740eeef318da550.tar.gz |
Do not call vput() after we call VOP_UNLOCK().
Diffstat (limited to 'sys/gnu')
-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 d01ff4e..f840297 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; |