mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTFS]
Call NtfsGetUserBuffer() when required, don't reimplement the wheel everytime svn path=/trunk/; revision=67913
This commit is contained in:
parent
3deb2b256e
commit
23eb05714f
1 changed files with 2 additions and 9 deletions
|
@ -304,15 +304,8 @@ NtfsQueryDirectory(PNTFS_IRP_CONTEXT IrpContext)
|
|||
Ccb->Entry = 0;
|
||||
}
|
||||
|
||||
/* Determine Buffer for result */
|
||||
if (Irp->MdlAddress)
|
||||
{
|
||||
Buffer = MmGetSystemAddressForMdl(Irp->MdlAddress);
|
||||
}
|
||||
else
|
||||
{
|
||||
Buffer = Irp->UserBuffer;
|
||||
}
|
||||
/* Get Buffer for result */
|
||||
Buffer = NtfsGetUserBuffer(Irp, FALSE);
|
||||
|
||||
DPRINT("Buffer=%p tofind=%S\n", Buffer, Ccb->DirectorySearchPattern);
|
||||
|
||||
|
|
Loading…
Reference in a new issue