]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] cciss: fix for deregister_disk
authorMike Miller <mike.miller@hp.com>
Tue, 13 Dec 2005 06:17:14 +0000 (22:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Dec 2005 06:31:16 +0000 (22:31 -0800)
commit2f6331faf58a4727a9f1138cd6db30d05b124220
treea285f5260b8256f018b05db7c8a6b5470baf85ff
parent8309cf66fd90ccba9894adde2f3a8d7e1507e4d2
[PATCH] cciss: fix for deregister_disk

This patch adds setting our drv->queue = NULL back in deregister_disk.  The
drv->queue is part of our controller struct.  blk_cleanup_queue works only
on the queue in the gendisk struct.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cciss.c