diff options
| author | Tahsin Erdogan <tahsin@google.com> | 2016-10-10 05:35:19 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 16:36:34 +0100 |
| commit | cb270a3f16668efb80141e530f5235035301cc11 (patch) | |
| tree | e802afe4d932b272acb953e60ccda16b3d49140c /tools/perf/scripts/python | |
| parent | f49f9df84eb20cefbb3b354fa755ebf056613568 (diff) | |
dm: free io_barrier after blk_cleanup_queue call
commit d09960b0032174eb493c4c13be5b9c9ef36dc9a7 upstream.
dm_old_request_fn() has paths that access md->io_barrier. The party
destroying io_barrier should ensure that no future execution of
dm_old_request_fn() is possible. Move io_barrier destruction to below
blk_cleanup_queue() to ensure this and avoid a NULL pointer crash during
request-based DM device shutdown.
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
