From cab87d3f7b6686de7072eb166ccc7c5fe0f6536c Mon Sep 17 00:00:00 2001 From: "Chas Williams (CONTRACTOR)" Date: Sat, 30 Oct 2010 18:10:34 -0400 Subject: [PATCH] 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 --- src/afs/afs.h | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.39.5