diff --git a/reactos/drivers/fs/np/rw.c b/reactos/drivers/fs/np/rw.c index dfd7a2a3393..0676d42d345 100644 --- a/reactos/drivers/fs/np/rw.c +++ b/reactos/drivers/fs/np/rw.c @@ -529,6 +529,8 @@ NpfsRead(IN PDEVICE_OBJECT DeviceObject, } Irp->IoStatus.Information = Information; Irp->IoStatus.Status = Status; + + ASSERT(IoGetCurrentIrpStackLocation(Irp)->FileObject != NULL); if (IoIsOperationSynchronous(Irp)) {