diff options
| author | Asai Thambi SP <asamymuthupa@micron.com> | 2016-02-24 21:17:47 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-12 09:08:51 -0700 |
| commit | e241a8dab98aff4d79d36e8cc71c4487c909bdd5 (patch) | |
| tree | 068cbb8c94b19d9690b22353314c656f4a5176af /include/linux | |
| parent | 3d58a02e4fdad9cb7ce0799363eaa54c012fcd33 (diff) | |
mtip32xx: Fix for rmmod crash when drive is in FTL rebuild
commit 59cf70e236c96594d9f1e065755d8fce9df5356b upstream.
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>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
