libadmin: Catch VL_GetNewVolumeId failures
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 26 Feb 2013 11:59:56 +0000 (11:59 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 26 Feb 2013 21:57:30 +0000 (13:57 -0800)
commit8192554e36272d5ed21007b4c0e3b6c56511457d
tree4009debeb4a55791b4b6291792ead5b2c64dcfdd
parentfb483acf626088ebce6f148c1e9644ce9c8c2045
libadmin: Catch VL_GetNewVolumeId failures

If ubik_VL_GetVolumeId fails in the vos ProcessEntries routine,
report the failure and give up, rather than continuing with a
0 maxVolid

Caught by coverity (#988417)

Change-Id: I281e1c518813f9d7fab46e4f87a091fac6b3a754
Reviewed-on: http://gerrit.openafs.org/9268
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/libadmin/vos/vsprocs.c