summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2012-03-05 13:15:10 -0800
committerJens Axboe <axboe@kernel.dk>2012-03-06 21:27:22 +0100
commit92616b5b3a7c7fa8148df82e7ff6183056f2bfc8 (patch)
treeb204b7df4753e9508cf15d278688dc9c307761fa /block/blk-throttle.c
parent7a4dd281ec66224f802093962d1d903d86b09560 (diff)
downloadop-kernel-dev-92616b5b3a7c7fa8148df82e7ff6183056f2bfc8.zip
op-kernel-dev-92616b5b3a7c7fa8148df82e7ff6183056f2bfc8.tar.gz
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/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud