diff options
author | Asai Thambi SP <asamymuthupa@micron.com> | 2016-02-24 21:17:47 -0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-03 09:08:43 -0700 |
commit | 59cf70e236c96594d9f1e065755d8fce9df5356b (patch) | |
tree | c581336d6c120a95c66c2bc1ea1a9f0fc4b011b5 /fs/compat_ioctl.c | |
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>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions