From: Derrick Brashear Date: Sun, 28 Feb 2010 04:00:31 +0000 (-0500) Subject: magic mount parser fix X-Git-Tag: openafs-devel-1_5_73~118 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8b898af1b34054d18f8a33b4a9c608614fec15b5;p=packages%2Fo%2Fopenafs.git magic mount parser fix parse vnodes from magic mount objects correctly Change-Id: Id46afa7e6b1fa260d56ce54c8bffe2662b7c447d Reviewed-on: http://gerrit.openafs.org/1488 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index 7dd104ef8..f055d1fef 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -108,7 +108,7 @@ EvalMountData(char type, char *data, afs_uint32 states, afs_uint32 cellnum, if (cpos) { *cpos = ':'; vnoid = 0; - if (!*x) /* allow vno with numeric volid only */ + if (*x == *cpos) /* allow vno with numeric volid only */ for (x = (cpos + 1); *x >= '0' && *x <= '9'; x++) vnoid = (vnoid * 10) + (*x - '0'); if (*x)