summaryrefslogtreecommitdiff
path: root/fs/bio.c
diff options
context:
space:
mode:
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>2012-10-22 10:15:37 +0900
committerJens Axboe <axboe@kernel.dk>2012-10-22 22:00:26 +0200
commit65c77fd9e8a1c8c3da0bbbea6b7efa3d6ef265f8 (patch)
tree305b08304869b3f8d57a191b4b23968e53b53247 /fs/bio.c
parent65635cbc37e011e71b208257a25e7c1078cd039b (diff)
downloadlinux-3.10-65c77fd9e8a1c8c3da0bbbea6b7efa3d6ef265f8.tar.gz
linux-3.10-65c77fd9e8a1c8c3da0bbbea6b7efa3d6ef265f8.tar.bz2
linux-3.10-65c77fd9e8a1c8c3da0bbbea6b7efa3d6ef265f8.zip
blkcg: stop iteration early if root_rl is the only request list
__blk_queue_next_rl() finds next request list based on blkg_list while skipping root_blkg in the list. OTOH, root_rl is special as it may exist even without root_blkg. Though the later part of the function handles such a case correctly, exiting early is good for readability of the code. Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Cc: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions