projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e014ff8
)
[PATCH] cfq_cic_link: fix usage of wrong cfq_io_context
author
Oleg Nesterov
<oleg@tv-sign.ru>
Mon, 21 Aug 2006 06:36:12 +0000
(08:36 +0200)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Mon, 21 Aug 2006 08:02:54 +0000
(10:02 +0200)
Obviously, cfq_cic_link() shouldn't free a just allocated cfq_io_context?
The dead key is from __cic, so drop that.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jens Axboe <axboe@suse.de>
block/cfq-iosched.c
patch
|
blob
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index
aae3123
..
3a3aee0
100644
(file)
--- a/
block/cfq-iosched.c
+++ b/
block/cfq-iosched.c
@@
-1561,7
+1561,7
@@
restart:
/* ->key must be copied to avoid race with cfq_exit_queue() */
k = __cic->key;
if (unlikely(!k)) {
- cfq_drop_dead_cic(ioc, cic);
+ cfq_drop_dead_cic(ioc,
__
cic);
goto restart;
}