diff options
author | mav <mav@FreeBSD.org> | 2009-02-26 21:33:48 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-02-26 21:33:48 +0000 |
commit | bb22735cfd8d9750d7d63bbe7a69bb5e7f68060c (patch) | |
tree | 0fcc3922c3bc54621b1ead87fd3a5fb83ffad5d5 /contrib/libpcap/pcap-snoop.c | |
parent | e2be17ec8c033846c60a3c3371e6709f46d8efcb (diff) | |
download | FreeBSD-src-bb22735cfd8d9750d7d63bbe7a69bb5e7f68060c.zip FreeBSD-src-bb22735cfd8d9750d7d63bbe7a69bb5e7f68060c.tar.gz |
Remove direct ata_completed() call options from ata_finish(), except for the
kernel dumping case.
ata_completed() may initiate ata_reinit() on error, that may lead to drives
attach or detach. Attach and detach are sending requests to drives and sleep
waiting for results. But ata_finish() can be called directly from
interrupt handler where sleeping is prohibited, so we must break this chain
somewhere. This place seems to fit best.
Diffstat (limited to 'contrib/libpcap/pcap-snoop.c')
0 files changed, 0 insertions, 0 deletions