]> git.sur5r.net Git - bacula/bacula/commitdiff
Pass jcr to VSS class + minor clean up of VSS code
authorKern Sibbald <kern@sibbald.com>
Fri, 26 Feb 2010 12:39:26 +0000 (13:39 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:35 +0000 (16:49 +0200)
bacula/src/filed/job.c

index cf42130fa5a6713d892addd6dda330513fcc5ad2..b7671bf18efa2cc7d2690615f917fc3715a5bcc5 100644 (file)
@@ -1584,7 +1584,7 @@ static int backup_cmd(JCR *jcr)
 #if defined(WIN32_VSS)
    /* START VSS ON WIN32 */
    if (jcr->VSS) {      
-      if (g_pVSSClient->InitializeForBackup()) {   
+      if (g_pVSSClient->InitializeForBackup(jcr)) {   
         /* tell vss which drives to snapshot */   
         char szWinDriveLetters[27];   
         if (get_win32_driveletters(jcr->ff, szWinDriveLetters)) {