diff options
author | Mark Johnston <markj@FreeBSD.org> | 2017-01-10 21:41:28 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2017-01-10 21:41:28 +0000 |
commit | 90e17792c89650ad586ba763d15acaec74cb97b1 (patch) | |
tree | f721c981f754b57b918aa3026af38342ce339464 /usr.bin/lastcomm | |
parent | 093cf246190c8348e8c80232c23f9659a10e941a (diff) | |
download | src-90e17792c89650ad586ba763d15acaec74cb97b1.tar.gz src-90e17792c89650ad586ba763d15acaec74cb97b1.zip |
Do not set BIO_DONE if the BIO specifies a completion handler.
biowait() will otherwise race with completions of such BIOs. In-tree code
only calls biowait() on BIOs that do not specify a handler, so this change
should not have any functional impact.
Reviewed by: mav
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D9070
Notes
Notes:
svn path=/head/; revision=311901
Diffstat (limited to 'usr.bin/lastcomm')
0 files changed, 0 insertions, 0 deletions