Actually, ->resetting needs to be protected by the ide_lock here.
[...]
Same as above. Unless I have missed something, a simple
spin_lock(&ide_lock)
should suffice since there cannot possibly be another interrupt that
changes ->resetting behind our back. I'll send an updated version of
patches 1 and 4 once I have your opinion on the current series.
Regards,
Elias
--