Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9696141f
Commit
9696141f
authored
Jan 03, 2003
by
Willem Riede
Committed by
James Bottomley
Jan 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ide-scsi oops with abort
parent
5885ddb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/scsi/ide-scsi.c
drivers/scsi/ide-scsi.c
+3
-1
No files found.
drivers/scsi/ide-scsi.c
View file @
9696141f
...
...
@@ -289,6 +289,7 @@ static int idescsi_check_condition(ide_drive_t *drive, struct request *failed_co
pc
->
timeout
=
jiffies
+
WAIT_READY
;
/* NOTE! Save the failed packet command in "rq->buffer" */
rq
->
buffer
=
(
void
*
)
failed_command
->
special
;
pc
->
scsi_cmd
=
((
idescsi_pc_t
*
)
failed_command
->
special
)
->
scsi_cmd
;
if
(
test_bit
(
IDESCSI_LOG_CMD
,
&
scsi
->
log
))
{
printk
(
"ide-scsi: %s: queue cmd = "
,
drive
->
name
);
hexdump
(
pc
->
c
,
6
);
...
...
@@ -877,7 +878,8 @@ int idescsi_abort (Scsi_Cmnd *cmd)
/* is cmd active?
* need to lock so this stuff doesn't change under us */
spin_lock_irqsave
(
&
ide_lock
,
flags
);
if
(
scsi
->
pc
&&
scsi
->
pc
->
scsi_cmd
->
serial_number
==
cmd
->
serial_number
)
{
if
(
scsi
->
pc
&&
scsi
->
pc
->
scsi_cmd
&&
scsi
->
pc
->
scsi_cmd
->
serial_number
==
cmd
->
serial_number
)
{
/* yep - let's give it some more time -
* we can do that, we're in _our_ error kernel thread */
spin_unlock_irqrestore
(
&
ide_lock
,
flags
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment