deadline-iosched: non-functional fixes
authorAaron Carroll <aaronc@gelato.unsw.edu.au>
Thu, 14 Aug 2008 08:17:14 +0000 (18:17 +1000)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:03 +0000 (08:56 +0200)
commit4fb72f7646e86874eb2798256eaa6bf3fbe4edcf
tree0c32819099dd65494010514ecea4e2c39b372315
parent63de428b139d3d31d86ebe25ae97b33f6540fb7e
deadline-iosched: non-functional fixes

* convert goto to simpler while loop;
 * use rq_end_sector() instead of computing manually;
 * fix false comments;
 * remove spurious whitespace;
 * convert rq_rb_root macro to an inline function.

Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/deadline-iosched.c