diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-10-13 13:33:08 +0530 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-10-13 12:20:54 -0400 |
commit | a2a678ed4d0d6cb5f36dbabc411d60d9a4f9c435 (patch) | |
tree | d2934b441fbc1235335e284dca65c1bfff2f76a5 /drivers/md/dm-thin.c | |
parent | 25cb62b76430a91cc6195f902e61c2cb84ade622 (diff) | |
download | linux-stable-a2a678ed4d0d6cb5f36dbabc411d60d9a4f9c435.tar.gz linux-stable-a2a678ed4d0d6cb5f36dbabc411d60d9a4f9c435.tar.bz2 linux-stable-a2a678ed4d0d6cb5f36dbabc411d60d9a4f9c435.zip |
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: b0d3cc011e53 ("dm snapshot: add new persistent store option to support overflow")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin.c')
0 files changed, 0 insertions, 0 deletions