mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
logging: Write Completed message before resetting.
This commit is contained in:
parent
5face2010d
commit
96880102a3
@ -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.
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user