summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-03-28 09:00:28 +0200
committerJens Axboe <axboe@suse.de>2006-03-28 09:00:28 +0200
commit7143dd4b0127141a4f773e819d1d1f4ab82bb517 (patch)
treedfc1b1c5e622fae68c3c36935fc3ff327b4ee62d
parente8a99053ea82a4b4375049886cf1db64d7dcd755 (diff)
[PATCH] ll_rw_blk: fix 80-col offender in put_io_context()
This makes akpm more happy. Signed-off-by: Jens Axboe <axboe@suse.de>
-rw-r--r--block/ll_rw_blk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index cb608768ca37..7b23743eb9c5 100644
--- 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();