commit | 59cf70e236c96594d9f1e065755d8fce9df5356b | [log] [tgz] |
---|---|---|
author | Asai Thambi SP <asamymuthupa@micron.com> | Wed Feb 24 21:17:47 2016 -0800 |
committer | Jens Axboe <axboe@fb.com> | Thu Mar 03 09:08:43 2016 -0700 |
tree | c581336d6c120a95c66c2bc1ea1a9f0fc4b011b5 | |
parent | d8a18d2d8f5de55666c6011ed175939d22c8e3d8 [diff] |
mtip32xx: Fix for rmmod crash when drive is in FTL rebuild When FTL rebuild is in progress, alloc_disk() initializes the disk but device node will be created by add_disk() only after successful completion of FTL rebuild. So, skip deletion of device node in removal path when FTL rebuild is in progress. Signed-off-by: Selvan Mani <smani@micron.com> Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com> Cc: stable@vger.kernel.org Signed-off-by: Jens Axboe <axboe@fb.com>