Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Bricked
flo
Commits
b7ed1de0
Commit
b7ed1de0
authored
19 years ago
by
Linus Torvalds
Browse files
Options
Download
Plain Diff
Merge branch 'for-linus' of
git://brick.kernel.dk/data/git/linux-2.6-block
parents
328c2a8a
01840f9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
block/scsi_ioctl.c
block/scsi_ioctl.c
+3
-0
No files found.
block/scsi_ioctl.c
View file @
b7ed1de0
...
...
@@ -310,6 +310,8 @@ static int sg_io(struct file *file, request_queue_t *q,
if
(
!
rq
->
timeout
)
rq
->
timeout
=
BLK_DEFAULT_TIMEOUT
;
rq
->
retries
=
0
;
start_time
=
jiffies
;
/* ignore return value. All information is passed back to caller
...
...
@@ -427,6 +429,7 @@ static int sg_scsi_ioctl(struct file *file, request_queue_t *q,
rq
->
data
=
buffer
;
rq
->
data_len
=
bytes
;
rq
->
flags
|=
REQ_BLOCK_PC
;
rq
->
retries
=
0
;
blk_execute_rq
(
q
,
bd_disk
,
rq
,
0
);
err
=
rq
->
errors
&
0xff
;
/* only 8 bit SCSI status */
...
...
This diff is collapsed.
Click to expand it.
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