removing unnecessary copy in readdir
This commit is contained in:
parent
c5878eb662
commit
e3cbc70f14
1 changed files with 0 additions and 2 deletions
|
|
@ -3279,8 +3279,6 @@ NTSTATUS nfs41_QueryDirectory (
|
|||
RxContext->InformationToReturn = entry->u.QueryFile.buf_len;
|
||||
status = STATUS_BUFFER_TOO_SMALL;
|
||||
} else if (entry->status == STATUS_SUCCESS) {
|
||||
RtlCopyMemory(RxContext->Info.Buffer, entry->u.QueryFile.buf,
|
||||
entry->u.QueryFile.buf_len);
|
||||
RxContext->Info.LengthRemaining -= entry->u.QueryFile.buf_len;
|
||||
status = STATUS_SUCCESS;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue