From: Derrick Brashear Date: Tue, 9 Feb 2010 20:07:09 +0000 (-0500) Subject: reclaim CCore1 vcache state X-Git-Tag: openafs-devel-1_5_72~9 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d0f083feb0415f7ab68ecdcd58fde2c9856043e6;p=packages%2Fo%2Fopenafs.git reclaim CCore1 vcache state and the one place it was used it seems to have been used wrong anyway it's a relic from osf1 Change-Id: Iae72030dcbb812422431d3d23737f6c8fb5f0ca3 Reviewed-on: http://gerrit.openafs.org/1284 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs.h b/src/afs/afs.h index 0164774f0..8b6ff46e0 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -579,7 +579,6 @@ struct SimpleLocks { #define CBulkStat 0x00020000 /* loaded by a bulk stat, and not ref'd since */ #define CUnlinkedDel 0x00040000 #define CVFlushed 0x00080000 -#define CCore1 0x00100000 /* osf1 core file; not same as CCore above */ #ifdef AFS_LINUX22_ENV #define CPageWrite 0x00200000 /* to detect vm deadlock - linux */ #else diff --git a/src/afs/afs_segments.c b/src/afs/afs_segments.c index 1da015db6..6882e3b2e 100644 --- a/src/afs/afs_segments.c +++ b/src/afs/afs_segments.c @@ -422,7 +422,7 @@ afs_StoreAllSegments(register struct vcache *avc, struct vrequest *areq, * invalidated. Also discard data if it's a permanent error from the * fileserver. */ - if (areq->permWriteError || (avc->f.states & (CCore1 | CCore))) { + if (areq->permWriteError || (avc->f.states & CCore)) { afs_InvalidateAllSegments(avc); } }