]> sourceware.org Git - lvm2.git/commit - WHATS_NEW
config: fix one-node dumpconfig, add dm_config_write_one_node
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 20 Jul 2012 13:53:04 +0000 (15:53 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 20 Jul 2012 13:53:04 +0000 (15:53 +0200)
commit5e36b86c46f04eddae2d4b1f826e1f24995b3636
tree78aee73d59b1c7ea1198594016a28a38594e2354
parent8d5ae472e5226f87175d51722fb5942c531bb8bb
config: fix one-node dumpconfig, add dm_config_write_one_node

A regression introduced in 2.02.89 (11e520256b3005ed813ce83f8770aaab74edef3f)
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
WHATS_NEW
WHATS_NEW_DM
lib/config/config.c
libdm/libdevmapper.h
libdm/libdm-config.c
This page took 0.033756 seconds and 5 git commands to generate.