FIXES 2518
flush all dir buffers we have cached when rewriting a volume from a restore
avoids holding an ihandle which has an open fdhandle for an unlinked file
(cherry picked from commit
79b67c7461097ab5ca1dac9b9c1f069dfb4d290d)
}
strcpy(tt->lastProcName,"Restore");
tt->rxCallPtr = acid;
+
+ DFlushVolume(V_parentId(tt->volume)); /* Ensure dir buffers get dropped */
+
code = RestoreVolume(acid, tt->volume, (aflags & 1),cookie); /* last is incrementalp */
FSYNC_askfs(tt->volid, (char *) 0, FSYNC_RESTOREVOLUME, 0l);/*break call backs on the
restored volume */