X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=ntoskrnl%2Fio%2Fbuildirp.c;h=8e133ed5177ec415313237f0e1fd9a40bedc664d;hb=22d54e8d45ea0ada4089688d17524dbced124ddb;hp=19ed485ad923555bea9560ec6b392b0f9454464a;hpb=a4ba65a941dcf2632c57efd8f8560944d28dedc0;p=reactos.git diff --git a/ntoskrnl/io/buildirp.c b/ntoskrnl/io/buildirp.c index 19ed485..8e133ed 100644 --- a/ntoskrnl/io/buildirp.c +++ b/ntoskrnl/io/buildirp.c @@ -492,7 +492,7 @@ IoBuildSynchronousFsdRequestWithMdl(ULONG MajorFunction, /* FIXME: 'Irp->UserBuffer=NULL' was here from reactos but we need some * buffer at 'Irp->UserBuffer' for fastfat.sys - what to use else? */ - Irp->UserBuffer = Mdl->StartVa; + Irp->UserBuffer = MmGetSystemAddressForMdl(Mdl); Irp->AssociatedIrp.SystemBuffer = NULL; if (MajorFunction == IRP_MJ_READ)