summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/lvm-functions.c
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2008-12-11 03:33:35 +0000
committerDave Wysochanski <dwysocha@redhat.com>2008-12-11 03:33:35 +0000
commita51b3f838dc52db2afb6d9889432568f2cb540ab (patch)
tree06585680edafd424bb83e3b3dc1ae436f7c56d19 /daemons/clvmd/lvm-functions.c
parent4fa2c7f8b663b8ab3e0794acdc3ee8e08bdcfbc5 (diff)
downloadlvm2-a51b3f838dc52db2afb6d9889432568f2cb540ab.tar.gz
lvm2-a51b3f838dc52db2afb6d9889432568f2cb540ab.tar.xz
lvm2-a51b3f838dc52db2afb6d9889432568f2cb540ab.zip
Remove backup_enable() calls after create_toolcontext() calls.
Identical argument to previous patch which removed archive_enable() calls. We add a new parameter to backup_init() which sets the enable value based on the cmd->default_settings.backup value. This value was used to set cmd->current_settings.backup, used in the removed backup_enable() call.
Diffstat (limited to 'daemons/clvmd/lvm-functions.c')
-rw-r--r--daemons/clvmd/lvm-functions.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/daemons/clvmd/lvm-functions.c b/daemons/clvmd/lvm-functions.c
index ef4953b3..3673803a 100644
--- a/daemons/clvmd/lvm-functions.c
+++ b/daemons/clvmd/lvm-functions.c
@@ -733,7 +733,6 @@ int init_lvm(int using_gulm)
init_syslog(LOG_DAEMON);
openlog("clvmd", LOG_PID, LOG_DAEMON);
set_activation(cmd->current_settings.activation);
- backup_enable(cmd, cmd->current_settings.backup);
cmd->cmd_line = (char *)"clvmd";
/* Check lvm.conf is setup for cluster-LVM */