aoe: properly initialise the request_queue's backing_dev_info
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 10 Dec 2007 23:49:13 +0000 (15:49 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 11 Dec 2007 03:43:54 +0000 (19:43 -0800)
commit43cbe2cbdd5320f1ac785c6f016923609831effe
tree4ae26f9c44362f29edc390eb469e110796d970ee
parent5ea139503bc7907ca0772c25bbcfb7fbb8ffc16b
aoe: properly initialise the request_queue's backing_dev_info

AOE forgot to initialise its queue's backing_dev_info, so kernels crash.
(http://bugzilla.kernel.org/show_bug.cgi?id=9482)

Fix that and consoldate aoeblk_gdalloc()'s error handling.

Thanks be to Jon for reporting and testing.

Cc: "Ed L. Cashin" <ecashin@coraid.com>
Cc: <stable@kernel.org>
Cc: "Jon Nelson" <jnelson@jamponi.net>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoeblk.c