From: Mattias Amnefelt Date: Tue, 6 Mar 2001 22:17:44 +0000 (+0000) Subject: STABLE10-backup-addvolentry-fix-20010221 X-Git-Tag: openafs-stable-1_0_3~18 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=46e12414eacbaae05006188888a65c330c60e834;p=packages%2Fo%2Fopenafs.git STABLE10-backup-addvolentry-fix-20010221 (cherry picked from commit fd4fe77ecd3c4118decf370194e2db3a72270717) --- diff --git a/src/bucoord/vol_sets.c b/src/bucoord/vol_sets.c index b83ad7ea5..0d4fadd62 100644 --- a/src/bucoord/vol_sets.c +++ b/src/bucoord/vol_sets.c @@ -66,6 +66,12 @@ bc_AddVolEntryCmd(as, arock) partitionName = as->parms[2].items->data; volRegExp = as->parms[3].items->data; + code = bc_UpdateVolumeSet(); + if (code) { + com_err(whoami, code, "; Can't retrieve volume sets"); + return(code); + } + ctPtr = &bc_globalConfig->configText[TB_VOLUMESET]; tset = bc_FindVolumeSet(bc_globalConfig, volSetName);