sys,dll: Overwrite: named streams are now removed as per NTFS

This commit is contained in:
Bill Zissimopoulos
2016-12-13 14:37:44 -08:00
parent c37444b0ae
commit ff08d63a82
6 changed files with 60 additions and 0 deletions

View File

@ -996,6 +996,8 @@ NTSTATUS FspFsvolCreateComplete(
}
/* file was successfully overwritten/superseded */
if (0 == FileNode->MainFileNode)
FspFileNodeOverwriteStreams(FileNode);
FspFileNodeSetFileInfo(FileNode, FileObject, &Response->Rsp.Overwrite.FileInfo);
FspFileNodeNotifyChange(FileNode,
FILE_NOTIFY_CHANGE_LAST_WRITE | FILE_NOTIFY_CHANGE_ATTRIBUTES | FILE_NOTIFY_CHANGE_SIZE,