X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..765c9de3b4af7c2078d16a03812ae2c7c2b24938:/bsd/hfs/hfs_search.c?ds=sidebyside diff --git a/bsd/hfs/hfs_search.c b/bsd/hfs/hfs_search.c index e4adb4201..e606a3877 100644 --- a/bsd/hfs/hfs_search.c +++ b/bsd/hfs/hfs_search.c @@ -604,6 +604,7 @@ InsertMatch( struct vnode *root_vp, struct uio *a_uio, CatalogNodeData *cnp, rovingVariableBuffer = variableBuffer; INIT_CATALOGDATA(&catalogInfo.nodeData, 0); + catalogInfo.nodeData.cnd_iNodeNumCopy = 0; /* The packing call below expects a struct hfsCatalogInfo */ bcopy(cnp, &catalogInfo.nodeData, (cnp->cnd_type == kCatalogFileNode) ?