master - logging: Write Completed message before resetting.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=96880102a3b792cadbfc97e44c09c5714a96ca9e Commit: 96880102a3b792cadbfc97e44c09c5714a96ca9e Parent: 5face2010dfb4e9fef43b867b4736a90abe51c00 Author: Alasdair G Kergon <[email protected]> AuthorDate: Fri Sep 6 01:47:41 2013 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Fri Sep 6 01:47:41 2013 +0100
logging: Write Completed message before resetting.
--- WHATS_NEW | 1 + tools/lvmcmdline.c | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.101 - =================================== + Write Completed debug message before reinstating log defaults after command. Skip pvmove of RAID, thin, snapshot, origin, or mirror LVs in a cluster. Refresh existing VG before autoactivation (event retrigger/device reappeared). Use pvscan -b in udev rules to avoid a deadlock on udev process count limit.
tools/lvmcmdline.c +3 -4
@@ -1190,15 +1190,14 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv) stack; } -/* FIXME Move this? */ - cmd->current_settings = cmd->default_settings; -_apply_settings (cmd); -if (ret ==EINVALID_CMD_LINE && !_cmdline.interactive)_short_usage (cmd->command->name);log_debug ("Completed: %s" , cmd->cmd_line); + cmd->current_settings = cmd->default_settings; +_apply_settings (cmd); +/* * free off any memory the command used. */