Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to return void | Zdenek Kabelac | 2012-02-08 | 2 | -8/+5 |
| | | | | List delete cannot fail, so there is no reason to test for error. | ||||
* | Revert the #include changes. Need to fix this at the #include site for now, and | Petr Rockai | 2011-07-18 | 1 | -1/+0 |
| | | | | eventually refactor the way we structure #includes in the all of the library. | ||||
* | Add a missing libdevmapper.h #include to lvm-types.h (for dm_list). | Petr Rockai | 2011-07-18 | 1 | -0/+1 |
| | |||||
* | Better const cast logic | Zdenek Kabelac | 2011-04-08 | 1 | -4/+4 |
| | | | | (although still gcc gives const violation warning) | ||||
* | Some const cleanups | Zdenek Kabelac | 2010-12-20 | 1 | -1/+1 |
| | | | | Minor const warning fixes and internal API updates. | ||||
* | Preserve const for char pointer | Zdenek Kabelac | 2010-11-11 | 2 | -2/+2 |
| | | | | Keep char pointers 'const' (introduced with cling commit). | ||||
* | Extend cling allocation policy to recognise PV tags (cling_by_tags). | Alasdair Kergon | 2010-11-09 | 2 | -4/+8 |
| | | | | Add allocation/cling_tag_list to lvm.conf. | ||||
* | Remove unnecessary / duplicate dm_list macros and functions. | Dave Wysochanski | 2009-11-25 | 2 | -353/+0 |
| | | | | | | | | | These are no longer used by anyone. The dm_list defines are all in libdevmapper.h and libdm/datastruct/list.c contains any function definitions. There is some code in "old-tests" that still use this but this code is not being maintained. Thanks to Zdenek for spotting this. | ||||
* | Update error return and comments for lvm_list_vg_names/uuids. | Dave Wysochanski | 2009-07-27 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | The two liblvm functions that return a list of vgnames and vguuids use cmd->mem to allocate the list. Make it clear to the caller that this memory will be freed when the LVM handle is freed. Clean up and clarify the return value of the functions. In the case of a memory allocation error, add a couple log_errnos to the internal code, and make it clear that memory allocation returns a NULL pointer. If there are no VGs in the system, the list returned is an empty list. Make a note of the fact that currently we return hidden VG names, how these can be detected (always start with "#"), and that they should not be used. Author: Dave Wysochanski <dwysocha@redhat.com> | ||||
* | more missing bits | Alasdair Kergon | 2008-11-04 | 1 | -2/+0 |
| | |||||
* | Right, a simple build (without options) is working again. | Alasdair Kergon | 2008-11-03 | 5 | -97/+97 |
| | |||||
* | Improve file descriptor leak detection to display likely culprit and filename. | Alasdair Kergon | 2008-08-01 | 1 | -0/+1 |
| | |||||
* | make list_move consistent with other list fns | Alasdair Kergon | 2008-04-10 | 2 | -8/+12 |
| | |||||
* | Add list_move() support function for list manipulation. | Dave Wysochanski | 2008-03-26 | 1 | -0/+10 |
| | |||||
* | Some whitespace tidy-ups. | Alasdair Kergon | 2008-01-30 | 1 | -1/+1 |
| | |||||
* | Use stack return macros throughout. | Alasdair Kergon | 2008-01-30 | 2 | -20/+10 |
| | |||||
* | Fix strdup memory leak in str_list_dup(). | Alasdair Kergon | 2007-09-17 | 1 | -1/+1 |
| | |||||
* | Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. | Alasdair Kergon | 2007-08-20 | 7 | -22/+22 |
| | |||||
* | Add "const" attributes where possible: first cut. | Jim Meyering | 2007-08-07 | 6 | -33/+36 |
| | |||||
* | Fix warnings on x86_64 involving ptrdiff_t: | Dave Wysochanski | 2007-04-26 | 1 | -0/+1 |
| | | | | | | config/config.c:493: warning: format '%d' expects type 'int', but argument 5 has type 'long int' Modified original patch from Jim Meyering <jim@meyering.net> | ||||
* | remove inlines | Alasdair Kergon | 2006-04-19 | 1 | -0/+136 |
| | |||||
* | Check for libsepol. | Alasdair Kergon | 2006-04-19 | 2 | -68/+13 |
| | | | | | | Add some cflow & scope support. Separate out DEFS from CFLAGS. Remove inlines and use unique function names. | ||||
* | Use hash, bitset, malloc, pool from libdevmapper. | Alasdair Kergon | 2005-10-16 | 9 | -475/+33 |
| | |||||
* | Option for bitset memory allocation using malloc as well as pool. | Alasdair Kergon | 2005-09-16 | 1 | -1/+10 |
| | |||||
* | Basic support for mirrors. | Alasdair Kergon | 2005-06-01 | 1 | -0/+27 |
| | |||||
* | Fix contiguous allocations with linear. | Alasdair Kergon | 2005-05-11 | 1 | -0/+8 |
| | |||||
* | %Zu->zu | Alasdair Kergon | 2005-05-09 | 1 | -1/+1 |
| | |||||
* | more refinements | Alasdair Kergon | 2005-04-06 | 1 | -9/+10 |
| | |||||
* | Annotate, tidy and extend list.h. | Alasdair Kergon | 2005-04-06 | 1 | -9/+99 |
| | |||||
* | Extend hash functions to handle non-null-terminated data. | Alasdair Kergon | 2004-06-18 | 2 | -22/+48 |
| | |||||
* | Update copyright notices. | Alasdair Kergon | 2004-03-30 | 10 | -20/+110 |
| | |||||
* | More str_list fns. | Alasdair Kergon | 2004-03-08 | 2 | -0/+41 |
| | |||||
* | Don't inline hash _find | Alasdair Kergon | 2004-02-13 | 1 | -1/+1 |
| | |||||
* | more str_list fns | Alasdair Kergon | 2003-10-15 | 2 | -11/+46 |
| | |||||
* | str_list_del | Alasdair Kergon | 2003-10-15 | 2 | -0/+14 |
| | |||||
* | Extract some common functions. | Alasdair Kergon | 2003-09-17 | 2 | -0/+49 |
| | |||||
* | Improve segment merge/split code. | Alasdair Kergon | 2003-09-15 | 1 | -13/+17 |
| | |||||
* | Another sync point - numerous fixes & clean ups. | Alasdair Kergon | 2003-07-04 | 2 | -1/+9 |
| | |||||
* | list_next | Alasdair Kergon | 2003-05-06 | 1 | -0/+5 |
| | |||||
* | Improve build robustness. | Alasdair Kergon | 2003-04-15 | 1 | -3/+6 |
| | |||||
* | size_t tidying | Alasdair Kergon | 2003-04-02 | 1 | -5/+1 |
| | |||||
* | Tidy various pre-processing incl. making libdl optional. | Alasdair Kergon | 2003-03-24 | 5 | -8/+6 |
| | |||||
* | Fix (rare) cache bug on machines with large /dev directories. | Alasdair Kergon | 2003-01-10 | 1 | -18/+6 |
| | |||||
* | o Additional device/filter-level debugging messages + duplicate alias fix | Alasdair Kergon | 2003-01-08 | 1 | -0/+7 |
| | | | | o 32/64-bit size_t fix (pjc) | ||||
* | Default stripesize 64k & config file setting for it; | Alasdair Kergon | 2002-12-19 | 6 | -17/+14 |
| | | | | | | Clear many compiler warnings (i386) & associated bugs - hopefully without introducing too many new bugs:-) (Same exercise required for other archs.) Default compilation has optimisation - or else use ./configure --enable-debug | ||||
* | New column-based reporting tools: lvs, pvs & vgs. | Alasdair Kergon | 2002-12-12 | 1 | -7/+18 |
| | |||||
* | Refactoring. | Alasdair Kergon | 2002-11-18 | 5 | -23/+33 |
| | |||||
* | Merge with text format branch. | Alasdair Kergon | 2002-04-24 | 3 | -30/+35 |
| | | | | | | | | | | | | | | | | | | | Lots of changes/very little testing so far => there'll be bugs! Use 'vgcreate -M text' to create a volume group with its metadata stored in text files. Text format metadata changes should be reasonably atomic, with a (basic) automatic recovery mechanism if the system crashes while a change is in progress. Add a metadata section to lvm.conf to specify multiple directories if you want (recommended) to keep multiple copies of the metadata (eg on different filesystems). e.g. metadata { dirs = ["/etc/lvm/metadata1","/usr/local/lvm/metadata2"] } Plenty of refinements still in the pipeline. | ||||
* | o Added a macro called hash_iterate, that is similar to list_iterate | Joe Thornber | 2002-02-25 | 2 | -2/+6 |
| | | | | o Renamed hash_iterate function, hash_iter. | ||||
* | Add list_iterate that's safe with deletions. | Alasdair Kergon | 2002-01-29 | 1 | -1/+4 |
| |