[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 01/33] mg-allocate: Fix "issteallable" call



81cac5a1656e "mg-allocate: Support --steal" introduced an erroneous
call to the subref $issteallable, using { } instead of ( ), producing
this error:
  Not a HASH reference at ./mg-allocate line 225.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 mg-allocate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mg-allocate b/mg-allocate
index 42e35b3..d295997 100755
--- a/mg-allocate
+++ b/mg-allocate
@@ -222,7 +222,7 @@ END
                 next if $isallocatable->($sharerow);
                 next if $sharerow->{taskid} == $tid;
                 next if $sharerow->{taskid} == $magictask{preparing};
-               next if $isstealable->{$sharerow};
+               next if $isstealable->($sharerow);
                 logm("$desc: shared, $sharerow->{shareix} locked by ".
                      $findowner->($sharerow));
                 $allshareok= 0;
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.