summaryrefslogtreecommitdiffstats
path: root/lib/error
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: drop unneeded included header filesZdenek Kabelac2012-08-231-5/+0
| | | | | This headers were not resolving anything used for compiled .c files. Remove unused util.c file.
* Add lv_activate_opts structureZdenek Kabelac2011-06-171-0/+1
| | | | | | | | | | | To avoid modification of 'read-only' volume group structure add a new structure to pass local data around the code for LV activation. As origin_only is one such flag - replace this parameter with new struct lv_activate_opts. More parameters might eventually become part of lv_activate_opts.
* Replace malloc with zalloc when creating segment_type'sJonathan Earl Brassow2011-03-251-1/+1
|
* Remove const usage from destroy callbacksZdenek Kabelac2010-12-201-2/+2
| | | | | | As const segment_type or const format_type are never released use their non-const version and remove const downcast from dm_free calls. This change fixes many gcc warnings we were getting from them.
* Use __attribute__ consistently throughout.Alasdair Kergon2010-07-091-9/+9
|
* Fix last check-ins: seg can be NULL.Alasdair Kergon2009-02-281-3/+4
|
* Attempt cleanup in child before execing new binary in exec_cmd()Alasdair Kergon2009-02-281-2/+3
|
* Right, a simple build (without options) is working again.Alasdair Kergon2008-11-031-1/+1
|
* Add detection of clustered mirror log capability.Milan Broz2008-04-071-1/+2
| | | | Currently only check for kernel module presence.
* Some whitespace tidy-ups.Alasdair Kergon2008-01-301-1/+1
|
* Clean up numerous compiler warnings that crept in recently.Alasdair Kergon2007-08-221-1/+1
| | | | Remove several unused parameters from _allocate().
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-201-3/+3
|
* Split metadata-external.h out from metadata.h for the tools to use.Alasdair Kergon2007-07-181-0/+1
|
* Add segment parameter to target_present functions.Alasdair Kergon2006-10-181-1/+1
|
* Add LV column to reports listing kernel modules needed for activation.Alasdair Kergon2006-10-031-0/+14
|
* Fix lvcreate corelog validation.Alasdair Kergon2006-05-161-1/+1
| | | | | | | | | Add --config for overriding most config file settings from cmdline. Quote arguments when printing command line. Remove linefeed from 'initialising logging' message. Add 'Completed' debug message. Don't attempt library exit after reloading config files. Always compile with libdevmapper, even if device-mapper is disabled.
* Add mirror_library description to example.conf.Alasdair Kergon2006-05-111-5/+7
| | | | More compile-time cleanup.
* Make SIZE_SHORT the default for display_size().Alasdair Kergon2006-05-091-5/+5
| | | | | | | Fix some memory leaks in error paths found by coverity. Use C99 struct initialisers. Move DEFS into configure.h. Clean-ups to remove miscellaneous compiler warnings.
* Check for libsepol.Alasdair Kergon2006-04-191-16/+16
| | | | | | Add some cflow & scope support. Separate out DEFS from CFLAGS. Remove inlines and use unique function names.
* rename deptreeAlasdair Kergon2005-11-091-2/+2
|
* Replacement activation code. [Don't use this yet!]Alasdair Kergon2005-11-081-17/+12
|
* Use hash, bitset, malloc, pool from libdevmapper.Alasdair Kergon2005-10-161-5/+3
|
* Rename old segtypes files to segtype.Alasdair Kergon2004-09-161-1/+1
|
* Write log message when each segtype/format gets initialised.Alasdair Kergon2004-09-141-0/+2
|
* Add --type to lvcreate/resize.Alasdair Kergon2004-05-111-0/+101
Add virtual segment types, zero and error. A large sparse device can be constructed as a writeable snapshot of a large zero device.