mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
Windows: missing ! in update volume location
The check to see if the volume name is numeric or not was missing a ! in order to perform the correct test. Add it. Change-Id: I4626f4bdcf601cd1b421dd3d373edd634cc78527 Reviewed-on: http://gerrit.openafs.org/5331 Tested-by: BuildBot <buildbot@rampaginggeek.com> Tested-by: Jeffrey Altman <jaltman@openafs.org> Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
f37b6dfaf0
commit
8127e9332b
@ -493,7 +493,7 @@ long cm_UpdateVolumeLocation(struct cm_cell *cellp, cm_user_t *userp, cm_req_t *
|
||||
|
||||
/* decode the response */
|
||||
lock_ObtainWrite(&cm_volumeLock);
|
||||
if (cm_VolNameIsID(volp->namep)) {
|
||||
if (!cm_VolNameIsID(volp->namep)) {
|
||||
size_t len;
|
||||
|
||||
len = strlen(name);
|
||||
|
Loading…
Reference in New Issue
Block a user