svn commit: r313460 - stable/11/sys/kern
Mark Johnston
markj at FreeBSD.org
Thu Feb 9 00:28:04 UTC 2017
Author: markj
Date: Thu Feb 9 00:28:03 2017
New Revision: 313460
URL: https://svnweb.freebsd.org/changeset/base/313460
Log:
MFC r311901:
Do not set BIO_DONE if the BIO specifies a completion handler.
Modified:
stable/11/sys/kern/vfs_bio.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/kern/vfs_bio.c
==============================================================================
--- stable/11/sys/kern/vfs_bio.c Wed Feb 8 23:17:23 2017 (r313459)
+++ stable/11/sys/kern/vfs_bio.c Thu Feb 9 00:28:03 2017 (r313460)
@@ -3929,10 +3929,8 @@ biodone(struct bio *bp)
bp->bio_flags |= BIO_DONE;
wakeup(bp);
mtx_unlock(mtxp);
- } else {
- bp->bio_flags |= BIO_DONE;
+ } else
done(bp);
- }
}
/*
More information about the svn-src-stable
mailing list