Skip to content
  • Mike Fleetwood's avatar
    Replace whole path list after calibrate in apply_operation_to_disk() (#766349) · ab923121
    Mike Fleetwood authored and Curtis Gedak's avatar Curtis Gedak committed
    When replacing the list of paths for the other partition object involved
    in either a Resize/Move or Format operation in apply_operation_to_disk()
    should replace the whole list of partitions not just replace with the
    first path.  Copy the whole path list is the correct action.  It makes
    no material difference because secondary partition paths are only used
    to discover mount points during refresh phase and not at the apply
    phase, where only the primary path is used.
    
    Bug 766349 - Resolve code ugliness with partition path getting set to
                 "copy of /dev/SRC"
    ab923121