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
nexedi
linux
Commits
5140788f
Commit
5140788f
authored
Feb 09, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata scsi] build fix for ATA_FLAG_IN_EH change
parent
7a7921e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/scsi/libata-scsi.c
drivers/scsi/libata-scsi.c
+3
-1
No files found.
drivers/scsi/libata-scsi.c
View file @
5140788f
...
...
@@ -732,15 +732,17 @@ int ata_scsi_slave_config(struct scsi_device *sdev)
int
ata_scsi_error
(
struct
Scsi_Host
*
host
)
{
struct
ata_port
*
ap
;
unsigned
long
flags
;
DPRINTK
(
"ENTER
\n
"
);
ap
=
(
struct
ata_port
*
)
&
host
->
hostdata
[
0
];
spin_lock_irqsave
(
&
ap
->
host_set
->
lock
,
flags
);
assert
(
!
(
ap
->
flags
&
ATA_FLAG_IN_EH
));
ap
->
flags
|=
ATA_FLAG_IN_EH
;
spin_unlock_irqrestore
(
&
ap
->
host_set
->
lock
,
flags
);
ap
=
(
struct
ata_port
*
)
&
host
->
hostdata
[
0
];
ap
->
ops
->
eng_timeout
(
ap
);
assert
(
host
->
host_failed
==
0
&&
list_empty
(
&
host
->
eh_cmd_q
));
...
...
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