From: Chas Williams (CONTRACTOR) Date: Sat, 30 Oct 2010 22:10:34 +0000 (-0400) Subject: afs: minor cleanup for LINUX struct vcache X-Git-Tag: upstream/1.8.0_pre1^2~4565 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c120f5c9b64a1333f965125dcfc435e922b47356;p=packages%2Fo%2Fopenafs.git afs: minor cleanup for LINUX struct vcache mapcnt is no longer used in either linux client and should be removed to save a little space/sanity. Change-Id: Iea734fcbcb7bb639ea080de7b5bf70238bcb60f2 Reviewed-on: http://gerrit.openafs.org/3207 Reviewed-by: Derrick Brashear Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear --- diff --git a/src/afs/afs.h b/src/afs/afs.h index 5c2c832e1..6ba746dfe 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -852,9 +852,6 @@ struct vcache { struct dcache *dchint; struct dcache *dcreaddir; /* dcache for in-progress readdir */ unsigned int readdir_pid; /* pid of the thread in readdir */ -#ifdef AFS_LINUX22_ENV - u_short mapcnt; /* Number of mappings of this file. */ -#endif #if defined(AFS_SGI_ENV) daddr_t lastr; /* for read-ahead */ #ifdef AFS_SGI64_ENV