Darwin CM: afs_IsDynrootFid takes a fid ...

... not a vcache.

Change-Id: Iff1f33f32ec0d208ff80a4c7bcc1ce1b3dccd9a3
Reviewed-on: http://gerrit.openafs.org/4511
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Simon Wilkinson 2011-04-21 18:18:54 +01:00 committed by Derrick Brashear
parent 65186d8390
commit b178496063

View File

@ -64,7 +64,7 @@ loop:
if (!(vp = AFSTOV(tvc)) || !vnode_isdir(AFSTOV(tvc))) if (!(vp = AFSTOV(tvc)) || !vnode_isdir(AFSTOV(tvc)))
continue; continue;
/* dynroot object. no callbacks. anonymous ACL. just no. */ /* dynroot object. no callbacks. anonymous ACL. just no. */
if (afs_IsDynrootFid(tvc)) if (afs_IsDynrootFid(&tvc->f.fid))
continue; continue;
/* no fake fsevents on mount point sources. leaks refs */ /* no fake fsevents on mount point sources. leaks refs */
if (tvc->mvstat == 1) if (tvc->mvstat == 1)