]> err.no Git - linux-2.6/commitdiff
[PATCH] ll_rw_blk: fix 80-col offender in put_io_context()
authorJens Axboe <axboe@suse.de>
Tue, 28 Mar 2006 07:00:28 +0000 (09:00 +0200)
committerJens 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

index cb608768ca37f5ba0a8ee694e5c0007547b6c00c..7b23743eb9c528999bbc0a7fae90cccb122e2170 100644 (file)
@@ -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();