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
dfd11c2e
Commit
dfd11c2e
authored
Jun 17, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge 'for-linus' branch of
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/axboe/linux-2.6-block
parents
794f5bfa
db3b5848
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
drivers/block/cfq-iosched.c
drivers/block/cfq-iosched.c
+6
-3
No files found.
drivers/block/cfq-iosched.c
View file @
dfd11c2e
...
...
@@ -1202,14 +1202,17 @@ __cfq_get_queue(struct cfq_data *cfqd, unsigned long key, int gfp_mask)
if
(
new_cfqq
)
{
cfqq
=
new_cfqq
;
new_cfqq
=
NULL
;
}
else
if
(
gfp_mask
&
__GFP_WAIT
)
{
}
else
{
spin_unlock_irq
(
cfqd
->
queue
->
queue_lock
);
new_cfqq
=
kmem_cache_alloc
(
cfq_pool
,
gfp_mask
);
spin_lock_irq
(
cfqd
->
queue
->
queue_lock
);
goto
retry
;
}
else
if
(
!
new_cfqq
&&
!
(
gfp_mask
&
__GFP_WAIT
))
goto
out
;
goto
retry
;
}
memset
(
cfqq
,
0
,
sizeof
(
*
cfqq
));
INIT_HLIST_NODE
(
&
cfqq
->
cfq_hash
);
...
...
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