OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
cb60876
..
7b23743
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();