projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index aae3123bf3eec6501faa46fdbf3000ea4bfa97af..3a3aee08ec5f4850f0a1877b3bdf86d9b03d9625 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;
}