sys: FspFileNodeClose

This commit is contained in:
Bill Zissimopoulos
2016-11-11 10:54:21 -08:00
parent c6798b3060
commit a9b4fd4634
4 changed files with 16 additions and 13 deletions

View File

@ -74,7 +74,7 @@ static NTSTATUS FspFsvolClose(
Request->Req.Close.UserContext = FileNode->UserContext;
Request->Req.Close.UserContext2 = FileDesc->UserContext2;
FspFileNodeClose(FileNode, FileObject, FALSE, FALSE);
FspFileNodeClose(FileNode, 0, FALSE);
/* delete the FileDesc and deref the FileNode; order is important (FileDesc has FileNode ref) */
FspFileDescDelete(FileDesc); /* this will also close the MainFileObject if any */