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
f080b67a
Commit
f080b67a
authored
Apr 20, 2003
by
James Bottomley
Browse files
Options
Browse Files
Download
Plain Diff
Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-old-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
parents
6f06499b
5e4a26ef
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
drivers/scsi/scsi.c
drivers/scsi/scsi.c
+2
-0
drivers/scsi/scsi_error.c
drivers/scsi/scsi_error.c
+0
-4
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_lib.c
+1
-1
No files found.
drivers/scsi/scsi.c
View file @
f080b67a
...
...
@@ -224,8 +224,10 @@ void scsi_release_request(Scsi_Request * req)
{
if
(
req
->
sr_command
!=
NULL
)
{
request_queue_t
*
q
=
req
->
sr_device
->
request_queue
;
scsi_put_command
(
req
->
sr_command
);
req
->
sr_command
=
NULL
;
scsi_queue_next_request
(
q
,
NULL
);
}
kfree
(
req
);
...
...
drivers/scsi/scsi_error.c
View file @
f080b67a
...
...
@@ -1334,10 +1334,6 @@ static void scsi_eh_lock_done(struct scsi_cmnd *scmd)
{
struct
scsi_request
*
sreq
=
scmd
->
sc_request
;
scmd
->
sc_request
=
NULL
;
sreq
->
sr_command
=
NULL
;
scsi_put_command
(
scmd
);
scsi_release_request
(
sreq
);
}
...
...
drivers/scsi/scsi_lib.c
View file @
f080b67a
...
...
@@ -733,7 +733,7 @@ void scsi_io_completion(struct scsi_cmnd *cmd, int good_sectors,
if
(
good_sectors
>=
0
)
{
SCSI_LOG_HLCOMPLETE
(
1
,
printk
(
"%ld sectors total, %d sectors done.
\n
"
,
req
->
nr_sectors
,
good_sectors
));
SCSI_LOG_HLCOMPLETE
(
1
,
printk
(
"use_sg is %d
\n
"
,
cmd
->
use_sg
));
SCSI_LOG_HLCOMPLETE
(
1
,
printk
(
"use_sg is %d
\n
"
,
cmd
->
use_sg
));
if
(
clear_errors
)
req
->
errors
=
0
;
...
...
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