Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe
  • Repository
Switch branch/tag
  • ipipe
  • block
  • blk-cgroup.c
Find file BlameHistoryPermalink
  • Vivek Goyal's avatar
    blkcg: skip blkg printing if q isn't associated with disk · 92616b5b
    Vivek Goyal authored Mar 05, 2012
    
    
    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: default avatarVivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    92616b5b

Imprint & Privacy Policy