diff --git a/src/vlserver/vlprocs.c b/src/vlserver/vlprocs.c index 0bc014705c..6868edba12 100644 --- a/src/vlserver/vlprocs.c +++ b/src/vlserver/vlprocs.c @@ -683,7 +683,7 @@ SVL_GetNewVolumeId(struct rx_call *rxcall, afs_uint32 Maxvolidbump, if (!afsconf_SuperUser(vldb_confdir, rxcall, NULL)) END(VL_PERM); - if (Maxvolidbump < 0 || Maxvolidbump > MAXBUMPCOUNT) + if (Maxvolidbump > MAXBUMPCOUNT) END(VL_BADVOLIDBUMP); if ((code = Init_VLdbase(&ctx, LOCKWRITE, this_op)))