1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/libdm
Peter Rajnoha 5e36b86c46 config: fix one-node dumpconfig, add dm_config_write_one_node
A regression introduced in 2.02.89 (11e520256b)
caused the lvm dumpconfig <node> to print out
the node as well as its subsequent siblings.
The information about "only_one" mode got lost.

Before this patch (just an example node):
  # lvm dumpconfig global/use_lvmetad
  use_lvmetad=1
  thin_check_executable="/usr/sbin/thin_check"
  thin_check_options="-q"
  (...all nodes to the end of the section)

With this patch applied:
   # lvm dumpconfig global/use_lvmetad
   use_lvmetad=1
2012-07-20 15:53:04 +02:00
..
datastruct Use void pointer instead of char for binary key 2011-03-10 12:48:40 +00:00
ioctl Use already acquired variable... 2012-03-05 14:45:00 +00:00
misc cmirrord now returns log name to kernel in CTR so it can be registered 2011-10-14 14:18:49 +00:00
mm Add cast for ptrdiff_t - cleanup gcc warning 2012-03-01 10:31:35 +00:00
regex Add test for memory allocation failures 2012-02-10 13:49:29 +00:00
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
libdevmapper.h config: fix one-node dumpconfig, add dm_config_write_one_node 2012-07-20 15:53:04 +02:00
libdevmapper.pc.in Switch to use Requires.private for devmapper.pc and lvm2app.pc 2010-05-11 08:54:11 +00:00
libdm-common.c Adjust wording 2012-03-06 02:42:31 +00:00
libdm-common.h Check for multiple mangled names in auto mangling mode. 2012-03-05 12:48:12 +00:00
libdm-config.c config: fix one-node dumpconfig, add dm_config_write_one_node 2012-07-20 15:53:04 +02:00
libdm-deptree.c libdm: support reserve and release metadata snap msg 2012-07-18 14:34:19 +02:00
libdm-file.c Drop unreachable code 2012-02-08 12:59:45 +00:00
libdm-report.c Do not crash for NULL sort_key 2012-02-10 14:00:07 +00:00
libdm-string.c Introduce dm_strncpy 2012-02-23 22:45:43 +00:00
Makefile.in Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00