Commit d7b00aad authored by Committed by Greg Kroah-Hartman
md: flush ->event_work before stopping array.
commit ee5d004fd0591536a061451eba2b187092e9127c upstream. The 'event_work' worker used by dm-raid may still be running when the array is stopped. This can result in an oops. So flush the workqueue on which it is run after detaching and before destroying the device. Reported-by: Heinz Mauelshagen <email@example.com> Signed-off-by: NeilBrown <firstname.lastname@example.org> Fixes: 9d09e663 ("dm: raid456 basic support") Signed-off-by: Greg Kroah-Hartman <email@example.com>
Showing with 2 additions and 0 deletions