1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 7f8badfe5e Use memcpy and add error message
strncpy (which check each byte for \0) is not need as we always copy
the length size - so using memcpy is a bit cheaper.

Add missing log_error message for failed allocation.
2011-01-28 10:19:00 +00:00
..
activate Add exec_cmd paramater sync_needed 2011-01-13 14:51:32 +00:00
cache Cache config_tree 2011-01-10 13:15:57 +00:00
commands Fix memory leak in filter creation error path 2011-01-06 15:29:24 +00:00
config Use memcpy and add error message 2011-01-28 10:19:00 +00:00
datastruct Some const cleanups 2010-12-20 13:19:13 +00:00
device Do not scan devices unnecessarily for reseting error counter 2011-01-17 15:16:55 +00:00
display Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
error Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
filters Use O_DIRECT when reading block devices. 2011-01-27 00:21:37 +00:00
format1 Remove unused variable label 2010-12-20 14:06:33 +00:00
format_pool Add internal error if pointer is uninitialized 2010-12-20 14:20:52 +00:00
format_text Skip NULL check before dm_free 2011-01-28 10:16:04 +00:00
freeseg Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
label Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
locking Skip NULL check before dm_free 2011-01-28 10:16:04 +00:00
log Remove bufused for calculation 2010-10-26 08:53:25 +00:00
metadata Improve lvcreate "insufficient extents" errors to "insufficient free space". 2011-01-28 02:58:00 +00:00
mirror Remove unused variable mirr_state and its assignment 2011-01-05 12:27:56 +00:00
misc Skip NULL check before dm_free 2011-01-28 10:16:04 +00:00
mm Add more strict const pointers around config tree 2010-12-20 13:12:55 +00:00
replicator Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
report Return PERCENT_INVALID for error case 2011-01-05 12:33:51 +00:00
snapshot Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
striped Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
unknown Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
uuid Avoid rebuilding of uuid validation table 2011-01-28 10:14:08 +00:00
zero Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
Makefile.in Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00