]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
afs: minor cleanup for LINUX struct vcache
authorChas Williams (CONTRACTOR) <chas@cmf.nrl.navy.mil>
Sat, 30 Oct 2010 22:10:34 +0000 (18:10 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 3 Nov 2010 10:47:27 +0000 (03:47 -0700)
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 <shadow@dementia.org>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit c120f5c9b64a1333f965125dcfc435e922b47356)
Change-Id: I33e3f312ca07e9e2f7f5453495d6695a42e2cc19
Reviewed-on: http://gerrit.openafs.org/3222
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/afs.h

index a54a3173ca0690e95a4f395d98d6ef67cdda11e5..1a2dc9de2efca12bcfd92bbf333892e7df98ce18 100644 (file)
@@ -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