Skip to content
Commit a2a678ed authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Mike Snitzer
Browse files

dm snapshot persistent: fix missing cleanup in persistent_ctr error path



If an unsupported option is given then the early return from
persistent_ctr() leaked memory allocated for the 'pstore' and never
destroyed the 'metadata_wq'.

Fixes: b0d3cc01 ("dm snapshot: add new persistent store option to support overflow")
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 25cb62b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment