From: Andrew Deason Date: Wed, 20 Jul 2011 20:33:41 +0000 (-0500) Subject: libafs: Remove unused volume "states" flags X-Git-Tag: upstream/1.8.0_pre1^2~3495 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6cae7c554e917a26b197167e177bd3eb22bce71a;p=packages%2Fo%2Fopenafs.git libafs: Remove unused volume "states" flags VResort and VMoreReps are not referenced anywhere in the tree, so remove their definitions. Keep VPartVisible for VICEP-ACCESS, but lower it to the next unused bit. Change-Id: I04c9d1c75774a55d01105acb2b5df9d2bcafa5d8 Reviewed-on: http://gerrit.openafs.org/5059 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- diff --git a/src/afs/afs.h b/src/afs/afs.h index 914c8f108..413106cce 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -562,12 +562,9 @@ struct chservinfo { /* state bits for volume */ #define VRO 1 /* volume is readonly */ #define VRecheck 2 /* recheck volume info with server */ -#define VBackup 4 /* is this a backup volume? */ -#define VForeign 8 /* this is a non-afs volume */ -#define VResort 16 /* server order was rearranged, sort when able */ -#define VMoreReps 32 /* This volume has more replicas than we are */ - /* keeping track of now -- check with VLDB */ -#define VPartVisible 64 /* Volume's partition is visible on the client */ +#define VBackup 4 /* is this a backup volume? */ +#define VForeign 8 /* this is a non-afs volume */ +#define VPartVisible 16 /* Volume's partition is visible on the client */ enum repstate { not_busy, end_not_busy = 6, rd_busy, rdwr_busy, offline };