From: Eric Bollengier Date: Wed, 24 Nov 2010 09:11:33 +0000 (+0100) Subject: Rename bEventVssSnapshotLetters to bEventPrepareSnapshot X-Git-Tag: Release-7.0.0~1345 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a3d1f46de91653a1aacf111296663a6b4b15842e;p=bacula%2Fbacula Rename bEventVssSnapshotLetters to bEventPrepareSnapshot --- diff --git a/bacula/src/filed/fd_plugins.h b/bacula/src/filed/fd_plugins.h index a24a2af182..c9db624158 100644 --- a/bacula/src/filed/fd_plugins.h +++ b/bacula/src/filed/fd_plugins.h @@ -198,7 +198,7 @@ typedef enum { bEventLevel = 11, bEventSince = 12, bEventCancelCommand = 13, /* Executed by another thread */ - bEventVssBackupAddComponents = 14, + bEventVssBackupAddComponents = 14, /* Just before bEventVssPrepareSnapshot */ bEventVssRestoreLoadComponentMetadata = 15, bEventVssRestoreSetComponentsSelected = 16, bEventRestoreObject = 17, @@ -211,7 +211,7 @@ typedef enum { * You need to add them without duplicates, * see fd_common.h add_drive() copy_drives() to get help */ - bEventVssAddSnapshotLetters = 21 + bEventVssPrepareSnapshot = 21 } bEventType; typedef struct s_bEvent { diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index d5f4866db2..7e9dfdb5a7 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -1820,7 +1820,7 @@ static int backup_cmd(JCR *jcr) /* tell vss which drives to snapshot */ char szWinDriveLetters[27]; *szWinDriveLetters=0; - generate_plugin_event(jcr, bEventVssSnapshotLetters, szWinDriveLetters); + generate_plugin_event(jcr, bEventVssPrepareSnapshot, szWinDriveLetters); if (get_win32_driveletters(jcr->ff, szWinDriveLetters)) { Jmsg(jcr, M_INFO, 0, _("Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"), g_pVSSClient->GetDriverName(), szWinDriveLetters); if (!g_pVSSClient->CreateSnapshots(szWinDriveLetters)) {