mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[NTOSKRNL]
Don't keep spining forever in CcRosFlushDirtyPages() when flushing a dirty VACB fails on a RO volume. This can be triggered with extX volumes and can prevent shutdown from succeeding svn path=/trunk/; revision=69602
This commit is contained in:
parent
d87114591b
commit
8ecfaec11f
|
@ -235,7 +235,8 @@ CcRosFlushDirtyPages (
|
|||
KeAcquireGuardedMutex(&ViewLock);
|
||||
CcRosVacbDecRefCount(current);
|
||||
|
||||
if (!NT_SUCCESS(Status) && (Status != STATUS_END_OF_FILE))
|
||||
if (!NT_SUCCESS(Status) && (Status != STATUS_END_OF_FILE) &&
|
||||
(Status != STATUS_MEDIA_WRITE_PROTECTED))
|
||||
{
|
||||
DPRINT1("CC: Failed to flush VACB.\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue