]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtip32xx: fix rmmod issue
authorAsai Thambi SP <asamymuthupa@micron.com>
Mon, 11 May 2015 22:48:00 +0000 (15:48 -0700)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:46 +0000 (08:50 -0400)
commit6b9d9c35930bd75ddcfafb8eb7db909ceb63af10
tree7f6b52571fbc74647a6a04a92429b1821b3adc01
parent15d38f73263562c2ebe3cdb7c6380e0b9a98c76c
mtip32xx: fix rmmod issue

[ Upstream commit 02b48265e7437bfe153af16337b14ee74f00905f ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/block/mtip32xx/mtip32xx.c