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.jack...@eu.citrix.com>
---
 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@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to