commit | 18776c7316545482a02bfaa2629a2aa1afc48357 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Nov 13 23:38:52 2008 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Nov 13 23:38:52 2008 +0000 |
tree | ecd30db869eff5968921af7df8f055794ed3730f | |
parent | 4ffaf869c7780bbdfc11291e5fd4b61dde662b1c [diff] |
dm raid1: flush workqueue before destruction We queue work on keventd queue --- so this queue must be flushed in the destructor. Otherwise, keventd could access mirror_set after it was freed. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Cc: stable@kernel.org