mtip32xx: fix rmmod issue
authorAsai Thambi SP <asamymuthupa@micron.com>
Mon, 11 May 2015 22:48:00 +0000 (15:48 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 16 Jun 2015 14:24:40 +0000 (08:24 -0600)
commit02b48265e7437bfe153af16337b14ee74f00905f
tree570923bf4a79a4a41f44fb399f87424580a87811
parent3715a5d014e1326b8e6d008dfbf05615014a067e
mtip32xx: fix rmmod issue

put_disk() need to be called after del_gendisk() to free the disk object structure.

Signed-off-by: Selvan Mani <smani@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/mtip32xx/mtip32xx.c