]> git.neil.brown.name Git - history.git/commit
Make sure we don't access "cmd" in ide-scsi after having
authorLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 15:29:44 +0000 (07:29 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 15:29:44 +0000 (07:29 -0800)
commit4d53a003f12e93c181dff573ea866a912e758b7c
tree263be30745031e1a2a243b5b5ffdf72be993f855
parentd03652518e6fcef7157fd431e0e4370e11957125
Make sure we don't access "cmd" in ide-scsi after having
started the command - it may not exist any more.

In particular, load the host early in order to do proper
locking without having to access the command structure later.

Noted by Andries Brouwer.
drivers/scsi/ide-scsi.c