From: Mattias Amnefelt Date: Thu, 22 Feb 2001 03:06:04 +0000 (+0000) Subject: backup-addvolentry-fix-20010221 X-Git-Tag: BP-openafs-devel-autoconf~49 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=fd4fe77ecd3c4118decf370194e2db3a72270717;p=packages%2Fo%2Fopenafs.git backup-addvolentry-fix-20010221 --- 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);