vos-sync-flag-voltype-properly-20080521
authorDerrick Brashear <shadow@dementia.org>
Wed, 21 May 2008 21:15:41 +0000 (21:15 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 21 May 2008 21:15:41 +0000 (21:15 +0000)
LICENSE IPL10

when adding a backup volume to a vldb entry, flag it as such.

src/volser/vsprocs.c

index 6d3ac5e..137486a 100644 (file)
@@ -5571,7 +5571,7 @@ CheckVolume(volintInfo * volumeinfo, afs_int32 aserver, afs_int32 apart,
 
            entry.serverNumber[idx] = aserver;
            entry.serverPartition[idx] = apart;
-           entry.serverFlags[idx] = ITSRWVOL;
+           entry.serverFlags[idx] = ITSBACKVOL;
 
            modified++;
        }