]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_vhash.c
xnu-201.5.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_vhash.c
index 1c7a54e7a4bd9300e81dd3f7d253672caf833533..b6ccc2445cf50e7168a5685fabbdd2d316202851 100644 (file)
@@ -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 */
                        (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);
                                                        || (H_FORKTYPE(hp) == kDataFork)))) {
                                vp = HTOV(hp);
                                simple_lock(&vp->v_interlock);