From: Simon Wilkinson Date: Thu, 21 Apr 2011 17:18:54 +0000 (+0100) Subject: Darwin CM: afs_IsDynrootFid takes a fid ... X-Git-Tag: upstream/1.6.0.pre5^2~29 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=41f48eb4e15817992c536939efeff594d6206559;p=packages%2Fo%2Fopenafs.git Darwin CM: afs_IsDynrootFid takes a fid ... ... not a vcache. Reviewed-on: http://gerrit.openafs.org/4511 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit b178496063be6d95f301ae13c3e655c8fe94febc) Change-Id: If77fd99c5b96b243e1a5aee10f93c75fcca3cc94 Reviewed-on: http://gerrit.openafs.org/4552 Reviewed-by: Derrick Brashear Tested-by: BuildBot --- diff --git a/src/afs/DARWIN/osi_misc.c b/src/afs/DARWIN/osi_misc.c index adb1ef4da..56f118198 100644 --- a/src/afs/DARWIN/osi_misc.c +++ b/src/afs/DARWIN/osi_misc.c @@ -64,7 +64,7 @@ loop: if (!(vp = AFSTOV(tvc)) || !vnode_isdir(AFSTOV(tvc))) continue; /* dynroot object. no callbacks. anonymous ACL. just no. */ - if (afs_IsDynrootFid(tvc)) + if (afs_IsDynrootFid(&tvc->f.fid)) continue; /* no fake fsevents on mount point sources. leaks refs */ if (tvc->mvstat == 1)