If the underlying PDO has not gone away then we need to create a fresh
filter object.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
return Fdo->PhysicalDeviceObject;
}
+PDEVICE_OBJECT
+FdoGetPhysicalDeviceObject(
+ IN PXENDISK_FDO Fdo
+ )
+{
+ return __FdoGetPhysicalDeviceObject(Fdo);
+}
+
VOID
FdoAddPhysicalDeviceObject(
IN PXENDISK_FDO Fdo,
IN PXENDISK_FDO Fdo
);
+extern PDEVICE_OBJECT
+FdoGetPhysicalDeviceObject(
+ IN PXENDISK_FDO Fdo
+ );
+
extern NTSTATUS
FdoDispatch(
IN PXENDISK_FDO Fdo,
PdoDestroy(Pdo);
FdoReleaseMutex(Fdo);
+ IoInvalidateDeviceRelations(FdoGetPhysicalDeviceObject(Fdo),
+ BusRelations);
+
return status;
fail1: