From: Vivek Goyal Date: Mon, 5 Mar 2012 21:15:10 +0000 (-0800) Subject: blkcg: skip blkg printing if q isn't associated with disk X-Git-Tag: v3.5-rc1~42^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92616b5b3a7c7fa8148df82e7ff6183056f2bfc8;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed