]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
osstest: add executive prefix to resource_shared_mark_ready
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 13 Jun 2018 07:40:13 +0000 (09:40 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 21 Jun 2018 15:54:03 +0000 (16:54 +0100)
This is a non-functional change in preparation for introducing a
resource_shared_mark_ready in TestSupport.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes since v4:
 - New in this version.

Osstest/Executive.pm
Osstest/JobDB/Executive.pm

index 1d706dfd83b1341db25fc1078b1afea9dcb89185..0be27b641089a17b0bc8f2eb83883e56c8cf6b57 100644 (file)
@@ -53,7 +53,8 @@ BEGIN {
                       tcpconnect_queuedaemon plan_search
                       manual_allocation_base_jobinfo
                       alloc_resources alloc_resources_rollback_begin_work
-                      resource_check_allocated resource_shared_mark_ready
+                      resource_check_allocated
+                      executive_resource_shared_mark_ready
                       duration_estimator
                       db_pg_dsn opendb opendb_state
                       db_schema_updates_applied db_schema_updates_intree
@@ -995,7 +996,7 @@ END
     return $shared;
 }
 
-sub resource_shared_mark_ready ($$$) {
+sub executive_resource_shared_mark_ready ($$$) {
     my ($restype, $resname, $sharetype) = @_;
     # must run outside transaction
 
index fe8e7f644dfc1da0368a88da5ec12f4929748f9e..ea3490524fcd30ca242704dea84bf04914da591e 100644 (file)
@@ -353,7 +353,7 @@ sub gen_ether_offset ($$) { #method
 
 sub jobdb_resource_shared_mark_ready { #method
     my ($mo, $restype, $resname, $sharetype) = @_;
-    resource_shared_mark_ready($restype, $resname, $sharetype);
+    executive_resource_shared_mark_ready($restype, $resname, $sharetype);
 }
 
 sub jobdb_check_other_job { #method