summaryrefslogtreecommitdiff
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2012-03-06 01:15:10 +0400
committerJens Axboe <axboe@kernel.dk>2012-03-07 00:27:22 +0400
commit92616b5b3a7c7fa8148df82e7ff6183056f2bfc8 (patch)
treeb204b7df4753e9508cf15d278688dc9c307761fa /block/cfq-iosched.c
parent7a4dd281ec66224f802093962d1d903d86b09560 (diff)
downloadlinux-92616b5b3a7c7fa8148df82e7ff6183056f2bfc8.tar.xz
blkcg: skip blkg printing if q isn't associated with disk
blk-cgroup printing code currently assumes that there is a device/disk associated with every queue in the system, but modules like floppy, can instantiate request queues without registering disk which can lead to oops. Skip the queue/blkg which don't have dev/disk associated with them. -tj: Factored out backing_dev_info check into blkg_dev_name(). Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions