[PATCH] cciss: double put_disk()
commitb4788f6d55548e587ced330ece711456f40ec8f1
authorJens Axboe <axboe@suse.de>
Mon, 12 Dec 2005 08:37:13 +0000 (12 00:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Dec 2005 16:57:43 +0000 (12 08:57 -0800)
tree42468e3b7fbdcb5d9e7f93857df39003dbaa6b46
parentadad0f331f9c693129e81e233c5461e2e7c3e443
[PATCH] cciss: double put_disk()

This undoes the put_disk patch I sent in before.

If I had been paying attention I would have seen that we call put_disk
from free_hba during driver unload.  That's the only time we want to
call it.  If it's called from deregister disk we may remove the
controller (cNd0) unintentionally.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: 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