1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/activate
Zdenek Kabelac ec49f07b0d mirrors: fix leak in device_is_usable mirror check
Function _ignore_blocked_mirror_devices was not release
allocated strings images_health and log_health.

In error paths it was also not releasing dm_task structure.

Swaped return code of _ignore_blocked_mirror_devices and
use 1 as success.

In _parse_mirror_status use log_error if memory allocation
fails and few more errors so they are no going unnoticed
as debug messages.

On error path always clear return values and free strings.

For dev_create_file  use cache mem pool to avoid memleak.
2012-12-11 11:15:22 +01:00
..
activate.c activation: don't miss the log on empty {auto_activation|read_only|}_volume_list 2012-12-04 14:12:36 +01:00
activate.h thin: detect discards for non-power-2 2012-11-26 12:14:47 +01:00
dev_manager.c mirrors: fix leak in device_is_usable mirror check 2012-12-11 11:15:22 +01:00
dev_manager.h Thin add lv_thin_pool_transaction_id 2012-01-25 08:48:42 +00:00
fs.c give standard error message if lstat fails unexpectedly 2012-02-12 20:17:12 +00:00
fs.h Fix lv_info open_count test 2011-10-14 13:23:47 +00:00
targets.h Use UUIDs instead of names while processing event handlers. 2010-04-14 13:01:38 +00:00