sys: create: overwrite EA support

This commit is contained in:
Bill Zissimopoulos
2019-03-19 13:22:35 -07:00
parent 02a650f8d0
commit a830de9d04
3 changed files with 24 additions and 4 deletions

View File

@ -460,6 +460,9 @@ namespace memfs
FileNodeMap.Remove(StreamNode);
}
SortedDictionary<String, EaValueData> EaMap = FileNode.GetEaMap(false);
if (null != EaMap)
EaMap.Clear();
if (IntPtr.Zero != Ea)
{
Result = SetEa(FileNode, null, Ea, EaLength);