[aoe] Bus detach causes thread stop
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 7 Jan 2011 16:23:43 +0000 (11:23 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 7 Jan 2011 16:23:43 +0000 (11:23 -0500)
commitd7002a6765435d03755c8721884114cec24933cf
tree6c1720df7b23e8d4fceccaf23cc745cff218eb48
parent58c9fb6e6f8bd5c04a5727c30212a54fb2a7a582
[aoe] Bus detach causes thread stop

We must stop the thread before returning from
IRP_MJ_PNP:IRP_MN_REMOVE_DEVICE or the PnP manager will
not initite a driver unload.

At last, we unload properly!
src/aoe/driver.c