diff options
author | Joe Thornber <ejt@redhat.com> | 2012-07-27 15:08:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-09 08:23:11 -0700 |
commit | cd40c442bcf13696b2e0dfcc158945ff0ee64356 (patch) | |
tree | b2c18e1603d9c80fa3359d2e347e48f2ef9e5056 /fs | |
parent | ac9d9e65b673fa34f12002df33211d11432b86cf (diff) |
dm thin: fix memory leak in process_prepared_mapping error paths
commit 905386f82d08f66726912f303f3e6605248c60a3 upstream.
Fix memory leak in process_prepared_mapping by always freeing
the dm_thin_new_mapping structs from the mapping_pool mempool on
the error paths.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions