diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-04-25 12:07:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-25 18:22:19 +0200 |
commit | 862a78341ade4fa52da2803e48e8c271b7fbf6e8 (patch) | |
tree | db92088cb929d53951f0be44970a09005472bbfa /drivers/md/dm-cache-policy.c | |
parent | fab2e96c6be0078059ce77f2ee0fb2b8d7c22124 (diff) |
dm delay: fix a crash when invalid device is specified
commit 81bc6d150ace6250503b825d9d0c10f7bbd24095 upstream.
When the target line contains an invalid device, delay_ctr() will call
delay_dtr() with NULL workqueue. Attempting to destroy the NULL
workqueue causes a crash.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-cache-policy.c')
0 files changed, 0 insertions, 0 deletions