1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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 mirrors: fix leak in device_is_usable mirror check 2012-12-11 11:15:22 +01:00
cache lvmetad: Init lazily, to avoid socket access on config overrides. 2012-10-30 09:15:47 +01:00
commands udev: add a warning message if DM_DISABLE_UDEV set and udev running 2012-11-29 15:57:43 +01:00
config thin: support configurable thin pool defaults 2012-11-26 12:16:47 +01:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device cleanup: switch log_error to log_warn 2012-10-17 15:41:35 +02:00
display buffering: use unbuffered silent mode for liblvm 2012-08-26 00:15:45 +01:00
error cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
filters filters: Add STEC skd and Violin vtms devices 2012-11-26 14:55:17 +00:00
format1 cleanup: format1 test whether PV was found 2012-08-23 14:37:52 +02:00
format_pool cleanup: uint64_t casts 2012-08-23 14:37:21 +02:00
format_text thin: allow restore with --force 2012-11-27 14:08:24 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label The lvmetad client-side integration. Only active when use_lvmetad = 1 is set in 2012-02-23 13:11:07 +00:00
locking locking: clarify read-only locking error message v2 2012-07-25 14:37:22 +02:00
log config: add silent mode 2012-08-25 20:35:48 +01:00
metadata thin: add detach_pool_metadata_lv 2012-12-02 17:56:29 +01:00
mirror cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
misc python: Add bindings for liblvm2app. 2012-10-12 02:08:47 +01:00
mm mm: skip mlocking [vectors] 2012-11-20 10:02:51 +01:00
raid RAID: Add support for RAID10 2012-08-24 15:34:19 -05:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report lvm2api: fix size reporting 2012-12-02 17:55:08 +01:00
snapshot Differentiate between snapshot status of "Invalid" and "Merge failed". 2012-01-20 22:02:04 +00:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin thin: update thin feature detection 2012-12-03 13:03:41 +01:00
unknown cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
Makefile.in cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00