summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-10-20 07:15:04 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-10-20 07:15:04 +0000
commit55129762b8ede9c512e25d09ee1acbb8a9185472 (patch)
tree3869b6a1a102e139681404013ff1d8e311ee4284
parent462a053b9d611f8c87a20413a851b557a0a7485c (diff)
Notes
-rw-r--r--sys/kern/vfs_bio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 1cbc891ab3fe..d04aae520e6a 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -3582,10 +3582,8 @@ biodone(struct bio *bp)
bp->bio_flags |= BIO_DONE;
wakeup(bp);
mtx_unlock(mtxp);
- } else {
- bp->bio_flags |= BIO_DONE;
+ } else
done(bp);
- }
}
/*