From: Mattias Amnefelt Date: Mon, 23 Apr 2001 08:32:41 +0000 (+0000) Subject: STABLE10-update-volumesets-for-deletevolentry-20010423 X-Git-Tag: openafs-stable-1_0_4~26 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=46555a75323bdd8f7bebeae5227674540f9df99c;p=packages%2Fo%2Fopenafs.git STABLE10-update-volumesets-for-deletevolentry-20010423 analog of patch for addvolentry --- diff --git a/src/bucoord/vol_sets.c b/src/bucoord/vol_sets.c index 0d4fadd62..e35159915 100644 --- a/src/bucoord/vol_sets.c +++ b/src/bucoord/vol_sets.c @@ -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];