]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfscommon/Catalog/CatalogUtilities.c
xnu-792.10.96.tar.gz
[apple/xnu.git] / bsd / hfs / hfscommon / Catalog / CatalogUtilities.c
index d1a43afb85401e0fd1f9e6ac23976194e6d4f440..cad8b871e4880ee4f911121d42c32959366536c1 100644 (file)
@@ -291,10 +291,10 @@ FlushCatalog(ExtendedVCB *volume)
                
                if ( 0 /*fcb->fcbFlags & fcbModifiedMask*/ )
                {
-                       VCB_LOCK(volume);
+                       HFS_MOUNT_LOCK(volume, TRUE);
                        volume->vcbFlags |= 0xFF00;             // Mark the VCB dirty
                        volume->vcbLsMod = GetTimeUTC();        // update last modified date
-                       VCB_UNLOCK(volume);
+                       HFS_MOUNT_UNLOCK(volume, TRUE);
 
                //      result = FlushVolumeControlBlock(volume);
                }