summaryrefslogtreecommitdiffstats
path: root/lib/unknown/unknown.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: drop unneeded included header filesZdenek Kabelac2012-08-231-6/+0
| | | | | This headers were not resolving anything used for compiled .c files. Remove unused util.c file.
* Fix log_error() usageZdenek Kabelac2011-09-241-2/+4
| | | | | Cosmetic - skip <bactrace> when error has been just printed in raid segtype. Add missing log_error if allocation would fail for unknown segtype.
* Move the core of the lib/config/config.c functionality into libdevmapper,Petr Rockai2011-08-301-5/+5
| | | | | | | leaving behind the LVM-specific parts of the code (convenience wrappers that handle `struct device` and `struct cmd_context`, basically). A number of functions have been renamed (in addition to getting a dm_ prefix) -- namely, all of the config interface now has a dm_config_ prefix.
* Slightly refactor the config code to allow better reuse (no functional change).Petr Rockai2011-07-181-1/+1
|
* 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-6/+6
|
* Fix the "const discarded" warnings introduced in the unknown segment patch.Petr Rockai2009-10-221-1/+2
|
* Handle metadata with unknown segment types more gracefully.Petr Rockai2009-10-161-0/+107