Remove simulation pass ( read test ) on move
The simulation pass is unnecessary and just wastes more time when moving, so get rid of it.
This commit is contained in:
parent
2a2d21c231
commit
b9b4b2e55d
|
@ -2152,13 +2152,9 @@ bool GParted_Core::move_filesystem( const Partition & partition_old,
|
|||
succes = false ;
|
||||
if ( partition_new .test_overlap( partition_old ) )
|
||||
{
|
||||
if ( copy_filesystem_simulation( partition_old, partition_new, operationdetail .get_last_child() ) )
|
||||
{
|
||||
operationdetail .get_last_child() .add_child( OperationDetail( _("perform real move") ) ) ;
|
||||
|
||||
succes = copy_filesystem( partition_old,
|
||||
partition_new,
|
||||
operationdetail .get_last_child() .get_last_child(),
|
||||
operationdetail.get_last_child(),
|
||||
total_done,
|
||||
true );
|
||||
|
||||
|
@ -2170,11 +2166,9 @@ bool GParted_Core::move_filesystem( const Partition & partition_old,
|
|||
partition_new,
|
||||
operationdetail .get_last_child(),
|
||||
total_done );
|
||||
|
||||
check_repair_filesystem( partition_old, operationdetail );
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
succes = copy_filesystem( partition_old, partition_new, operationdetail .get_last_child(),
|
||||
total_done, true ) ;
|
||||
|
|
Loading…
Reference in New Issue