X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..765c9de3b4af7c2078d16a03812ae2c7c2b24938:/bsd/hfs/hfs_vhash.c diff --git a/bsd/hfs/hfs_vhash.c b/bsd/hfs/hfs_vhash.c index 1c7a54e7a..b6ccc2445 100644 --- a/bsd/hfs/hfs_vhash.c +++ b/bsd/hfs/hfs_vhash.c @@ -128,9 +128,9 @@ loop: (H_DEV(hp) == dev) && !(hp->h_meta->h_metaflags & IN_NOEXISTS)) { /* SER XXX kDefault of meta data (ksysfile) is not assumed here */ - if ((H_FORKTYPE(hp) == forkType) || - (forkType == kAnyFork) || - ((forkType == kDefault) && ((H_FORKTYPE(hp) == kDirectory) + if ( (forkType == kAnyFork) || + (H_FORKTYPE(hp) == forkType) || + ((forkType == kDefault) && ((H_FORKTYPE(hp) == kDirectory) || (H_FORKTYPE(hp) == kDataFork)))) { vp = HTOV(hp); simple_lock(&vp->v_interlock);