Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
0d617928
Commit
0d617928
authored
Oct 03, 2011
by
Linus Torvalds
Browse files
Merge
git://github.com/davem330/ide
*
git://github.com/davem330/ide
: ide-disk: Fix request requeuing
parents
7fd21be7
2c8fc867
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/ide/ide-disk.c
View file @
0d617928
...
...
@@ -435,7 +435,12 @@ static int idedisk_prep_fn(struct request_queue *q, struct request *rq)
if
(
!
(
rq
->
cmd_flags
&
REQ_FLUSH
))
return
BLKPREP_OK
;
if
(
rq
->
special
)
{
cmd
=
rq
->
special
;
memset
(
cmd
,
0
,
sizeof
(
*
cmd
));
}
else
{
cmd
=
kzalloc
(
sizeof
(
*
cmd
),
GFP_ATOMIC
);
}
/* FIXME: map struct ide_taskfile on rq->cmd[] */
BUG_ON
(
cmd
==
NULL
);
...
...
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