driver: eliminating extra copy in QueryFileInfo
was doing a memcpy from entry->u.QueryFile.buf to RxContext->Info.Buffer, even though we set entry->u.QueryFile.buf = RxContext->Info.Buffer Signed-off-by: Casey Bodley <cbodley@umich.edu>
This commit is contained in:
parent
d345a7b12e
commit
d6d8aea013
1 changed files with 0 additions and 2 deletions
|
|
@ -3478,8 +3478,6 @@ NTSTATUS nfs41_QueryFileInformation (
|
|||
status = STATUS_BUFFER_TOO_SMALL;
|
||||
} else if (entry->status == STATUS_SUCCESS) {
|
||||
BOOLEAN DeletePending = FALSE;
|
||||
RtlCopyMemory(RxContext->Info.Buffer, entry->u.QueryFile.buf,
|
||||
entry->u.QueryFile.buf_len);
|
||||
RxContext->Info.LengthRemaining -= entry->u.QueryFile.buf_len;
|
||||
status = STATUS_SUCCESS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue