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
0d617928
Commit
0d617928
authored
Oct 03, 2011
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://github.com/davem330/ide
*
git://github.com/davem330/ide
: ide-disk: Fix request requeuing
parents
7fd21be7
2c8fc867
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
drivers/ide/ide-disk.c
drivers/ide/ide-disk.c
+6
-1
No files found.
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
;
cmd
=
kzalloc
(
sizeof
(
*
cmd
),
GFP_ATOMIC
);
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