mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:03:13 +00:00
[NPFS]
- Correctly check for write quota in NpCommonWrite. Should fix test regressions after enabling fast I/O. svn path=/trunk/; revision=67503
This commit is contained in:
parent
8ce4d75f45
commit
5f7df0d9ad
1 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ NpCommonWrite(IN PFILE_OBJECT FileObject,
|
||||||
if ((WriteQueue->QueueState == ReadEntries &&
|
if ((WriteQueue->QueueState == ReadEntries &&
|
||||||
WriteQueue->BytesInQueue < DataSize &&
|
WriteQueue->BytesInQueue < DataSize &&
|
||||||
WriteQueue->Quota < DataSize - WriteQueue->BytesInQueue) ||
|
WriteQueue->Quota < DataSize - WriteQueue->BytesInQueue) ||
|
||||||
(WriteQueue->QueueState == ReadEntries &&
|
(WriteQueue->QueueState != ReadEntries &&
|
||||||
WriteQueue->Quota - WriteQueue->QuotaUsed < DataSize))
|
WriteQueue->Quota - WriteQueue->QuotaUsed < DataSize))
|
||||||
{
|
{
|
||||||
if (Ccb->Fcb->NamedPipeType == FILE_PIPE_MESSAGE_TYPE &&
|
if (Ccb->Fcb->NamedPipeType == FILE_PIPE_MESSAGE_TYPE &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue