]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xen/blkfront: use bdget_disk
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 2 Apr 2008 17:54:03 +0000 (10:54 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 21:57:33 +0000 (23:57 +0200)
commit53f0e8afcb0d57cfaff06b89eb8b5302f167577e
tree2bfdddbb5b171bdae882b5ac829e0ecefc45f5a5
parent3e334239d89d4a71610be5a3e8432464d421d9ec
xen/blkfront: use bdget_disk

info->dev is never initialized to anything, so bdget(info->dev) is
meaningless.  Get rid of info->dev, and use bdget_disk on the gendisk.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/block/xen-blkfront.c