Message ID | 1468002385-4407-2-git-send-email-ian.jackson@eu.citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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;
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@eu.citrix.com> --- mg-allocate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)