]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
macos: disable bulkstat
authorDerrick Brashear <shadow@dementia.org>
Wed, 25 May 2011 19:31:40 +0000 (15:31 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 25 May 2011 20:47:44 +0000 (13:47 -0700)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/VNOPS/afs_vnop_lookup.c

index 7fb569d1b42811adb1437fb5c203f701dbedcfac..8e7af1c58b970ca9d9a7c9dfafe28dba755f362c 100644 (file)
@@ -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)