summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2005-07-05 15:57:55 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2005-07-05 15:57:55 +0000
commitc23c87bd939b7aad04f66dc7299acf791bd0bca5 (patch)
tree115be9bcc8028fe0a706452bb939a94e1b1f3f7e
parentf5851bcd310edd36a2ab26d6bca5a496523bf64c (diff)
Notes
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 92cb02578f27..e132627dda8d 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1766,7 +1766,6 @@ reassignbuf(struct buf *bp)
bo->bo_flag &= ~BO_ONWORKLST;
}
}
- VI_UNLOCK(vp);
#ifdef INVARIANTS
bv = &bo->bo_clean;
bp = TAILQ_FIRST(&bv->bv_hd);
@@ -1783,6 +1782,7 @@ reassignbuf(struct buf *bp)
KASSERT(bp == NULL || bp->b_bufobj == bo,
("bp %p wrong b_bufobj %p should be %p", bp, bp->b_bufobj, bo));
#endif
+ VI_UNLOCK(vp);
}
/*