update-volumesets-for-deletevolentry-20010414
authorMattias Amnefelt <mattiasa@e.kth.se>
Sat, 14 Apr 2001 18:31:49 +0000 (18:31 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 14 Apr 2001 18:31:49 +0000 (18:31 +0000)
analog of patch for addvolentry

src/bucoord/vol_sets.c

index 0d4fadd..e351599 100644 (file)
@@ -188,6 +188,12 @@ afs_int32 bc_DeleteVolEntryCmd(as, arock)
 
     vsname = as->parms[0].items->data;
 
+    code = bc_UpdateVolumeSet();
+    if (code) {
+       com_err(whoami, code, "; Can't retrieve volume sets");
+       return(code);
+    }
+
     /* lock schedules and check validity */
     ctPtr = &bc_globalConfig->configText[TB_VOLUMESET];