mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +00:00
[NTOS:FSRTL] Properly leave FsRtl when returning STATUS_CANT_WAIT
This commit is contained in:
parent
3efc5b1734
commit
bde2ee571a
1 changed files with 6 additions and 2 deletions
|
@ -1714,9 +1714,13 @@ FsRtlAcquireFileForCcFlushEx(IN PFILE_OBJECT FileObject)
|
||||||
|
|
||||||
/* Return either success or inability to wait.
|
/* Return either success or inability to wait.
|
||||||
In case of other failure - fall through */
|
In case of other failure - fall through */
|
||||||
if (Status == STATUS_SUCCESS ||
|
if (NT_SUCCESS(Status))
|
||||||
Status == STATUS_CANT_WAIT)
|
return Status;
|
||||||
|
|
||||||
|
if (Status == STATUS_CANT_WAIT)
|
||||||
{
|
{
|
||||||
|
DPRINT1("STATUS_CANT_WAIT\n");
|
||||||
|
FsRtlExitFileSystem();
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue