diff options
author | Tahsin Erdogan <tahsin@google.com> | 2016-10-10 05:35:19 -0700 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-10-18 12:02:08 -0400 |
commit | d09960b0032174eb493c4c13be5b9c9ef36dc9a7 (patch) | |
tree | 1dfe65031f7b8b7316806e9abc4eb69f3244295a /Documentation/devicetree/bindings/watchdog | |
parent | b052b07c39d593c9954a84d5bbe1563999483f38 (diff) |
dm: free io_barrier after blk_cleanup_queue call
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.
Cc: stable@vger.kernel.org # 4.3+
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog')
0 files changed, 0 insertions, 0 deletions