projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a9905
)
[PATCH] ll_rw_blk: fix 80-col offender in put_io_context()
author
Jens Axboe
<axboe@suse.de>
Tue, 28 Mar 2006 07:00:28 +0000
(09:00 +0200)
committer
Jens Axboe
<axboe@suse.de>
Tue, 28 Mar 2006 07:00:28 +0000
(09:00 +0200)
This makes akpm more happy.
Signed-off-by: Jens Axboe <axboe@suse.de>
block/ll_rw_blk.c
patch
|
blob
|
history
diff --git
a/block/ll_rw_blk.c
b/block/ll_rw_blk.c
index cb608768ca37f5ba0a8ee694e5c0007547b6c00c..7b23743eb9c528999bbc0a7fae90cccb122e2170 100644
(file)
--- a/
block/ll_rw_blk.c
+++ b/
block/ll_rw_blk.c
@@
-3545,7
+3545,9
@@
void put_io_context(struct io_context *ioc)
if (ioc->aic && ioc->aic->dtor)
ioc->aic->dtor(ioc->aic);
if (ioc->cic_root.rb_node != NULL) {
- cic = rb_entry(rb_first(&ioc->cic_root), struct cfq_io_context, rb_node);
+ struct rb_node *n = rb_first(&ioc->cic_root);
+
+ cic = rb_entry(n, struct cfq_io_context, rb_node);
cic->dtor(ioc);
}
rcu_read_unlock();