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: openafs-devel-1_5_78~25 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cab87d3f7b6686de7072eb166ccc7c5fe0f6536c;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. Reviewed-on: http://gerrit.openafs.org/3207 Reviewed-by: Derrick Brashear Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear (cherry picked from commit c120f5c9b64a1333f965125dcfc435e922b47356) Change-Id: I33e3f312ca07e9e2f7f5453495d6695a42e2cc19 Reviewed-on: http://gerrit.openafs.org/3222 Tested-by: BuildBot --- diff --git a/src/afs/afs.h b/src/afs/afs.h index a54a3173c..1a2dc9de2 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -833,9 +833,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