[aoe] Rename aoe__mount_targets to AOE_S_MOUNT_TARGETS
[people/sha0/winvblock.git] / src / aoe / driver.c
index 91c38af..2ade653 100644 (file)
@@ -1644,7 +1644,7 @@ NTSTATUS STDCALL AoeBusDevCtlScan(IN PIRP irp) {
     KIRQL irql;
     winvblock__uint32 count;
     AOE_SP_TARGET_LIST_ target_walker;
-    aoe__mount_targets_ptr targets;
+    AOE_S_MOUNT_TARGETS_ptr targets;
     PIO_STACK_LOCATION io_stack_loc = IoGetCurrentIrpStackLocation(irp);
 
     DBG("Got IOCTL_AOE_SCAN...\n");
@@ -1667,7 +1667,7 @@ NTSTATUS STDCALL AoeBusDevCtlScan(IN PIRP irp) {
           );
       }
     irp->IoStatus.Information =
-      sizeof (aoe__mount_targets) + (count * sizeof (aoe__mount_target));
+      sizeof (AOE_S_MOUNT_TARGETS) + (count * sizeof (aoe__mount_target));
     targets->Count = count;
 
     count = 0;
@@ -1685,9 +1685,9 @@ NTSTATUS STDCALL AoeBusDevCtlScan(IN PIRP irp) {
         irp->AssociatedIrp.SystemBuffer,
         targets,
         (io_stack_loc->Parameters.DeviceIoControl.OutputBufferLength <
-          (sizeof (aoe__mount_targets) + (count * sizeof (aoe__mount_target))) ?
+          (sizeof (AOE_S_MOUNT_TARGETS) + (count * sizeof (aoe__mount_target))) ?
           io_stack_loc->Parameters.DeviceIoControl.OutputBufferLength :
-          (sizeof (aoe__mount_targets) + (count * sizeof (aoe__mount_target)))
+          (sizeof (AOE_S_MOUNT_TARGETS) + (count * sizeof (aoe__mount_target)))
         )
       );
     wv_free(targets);