From aa99a3a5f731b90334a45d726264d6d3e0318393 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 25 May 2011 15:31:40 -0400 Subject: [PATCH] macos: disable bulkstat 1.6 only change. there's still an issue where potentially multiple contexts reference a vnode which needs to be finalized; the fixup is successful but there's no hint to other threads to reref before proceeding (no actual troublesome access while waiting for the fixup as the vnode will not have actually been CStatd yet) Change-Id: Ib72f69b74c94b7cac74a9a01a54a8872e32f9717 Reviewed-on: http://gerrit.openafs.org/4717 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/afs/VNOPS/afs_vnop_lookup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index 7fb569d1b..8e7af1c58 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -1305,7 +1305,11 @@ afs_DoBulkStat(struct vcache *adp, long dirCookie, struct vrequest *areqp) } /* was: (AFS_DEC_ENV) || defined(AFS_OSF30_ENV) || defined(AFS_NCR_ENV) */ +#ifdef AFS_DARWIN80_ENV +static int AFSDOBULK = 0; +#else static int AFSDOBULK = 1; +#endif static_inline int osi_lookup_isdot(const char *aname) -- 2.39.5