public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/format_text/import_vsn1.c Date: Wed, 21 Dec 2011 12:49:00 -0000 [thread overview] Message-ID: <20111221124901.9219.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2011-12-21 12:49:00 Modified files: . : WHATS_NEW lib/format_text: import_vsn1.c Log message: Allow empty strings for description and creation_host config fields Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2206&r2=1.2207 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/import_vsn1.c.diff?cvsroot=lvm2&r1=1.95&r2=1.96 --- LVM2/WHATS_NEW 2011/12/20 00:02:19 1.2206 +++ LVM2/WHATS_NEW 2011/12/21 12:49:00 1.2207 @@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Allow empty strings for description and creation_host config fields. Issue deprecation warning when removing last lvm1-format snapshot. Reinstate support for snapshot removal with lvm1 format. (2.02.86) Add policy based automated repair of RAID logical volumes --- LVM2/lib/format_text/import_vsn1.c 2011/10/23 16:05:45 1.95 +++ LVM2/lib/format_text/import_vsn1.c 2011/12/21 12:49:00 1.96 @@ -800,7 +800,7 @@ int old_suppress; old_suppress = log_suppress(1); - d = dm_config_find_str(cft->root, "description", ""); + d = dm_config_find_str_allow_empty(cft->root, "description", ""); log_suppress(old_suppress); *desc = dm_pool_strdup(mem, d); @@ -819,7 +819,7 @@ old_suppress = log_suppress(2); *creation_host = dm_pool_strdup(mem, - dm_config_find_str(cft->root, + dm_config_find_str_allow_empty(cft->root, "creation_host", "")); log_suppress(old_suppress);
next reply other threads:[~2011-12-21 12:49 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-21 12:49 zkabelac [this message] -- strict thread matches above, loose matches on Subject: below -- 2012-01-25 21:43 zkabelac 2011-10-23 16:05 zkabelac 2010-03-31 17:20 mbroz 2009-07-09 11:29 mbroz 2009-07-09 11:28 mbroz 2009-03-09 15:42 wysochanski 2007-11-04 15:43 agk
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20111221124901.9219.qmail@sourceware.org \ --to=zkabelac@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).