Quellcode durchsuchen

[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>
Jens Axboe vor 19 Jahren
Ursprung
Commit
7143dd4b01
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      block/ll_rw_blk.c

+ 3 - 1
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();