diff options
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index e799d8d..e0f395a 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -2136,7 +2136,6 @@ SYSCTL_INT(_vfs, OID_AUTO, flushwithdeps, CTLFLAG_RW, &flushwithdeps, static int flushbufqueues(int queue, int flushdeps) { - struct thread *td = curthread; struct buf sentinel; struct vnode *vp; struct mount *mp; @@ -2212,7 +2211,7 @@ flushbufqueues(int queue, int flushdeps) bp, bp->b_vp, bp->b_flags); vfs_bio_awrite(bp); vn_finished_write(mp); - VOP_UNLOCK(vp, 0, td); + VOP_UNLOCK(vp, 0); flushwithdeps += hasdeps; flushed++; waitrunningbufspace(); |