Commit 78be7b03 authored by Mike Hibler's avatar Mike Hibler

Minor tweak for the FreeNAS 11.2-STABLE train.

This appears to be backward compatible with the 11-STABLE train we are
running currently.
parent fce7c7c7
......@@ -952,7 +952,8 @@ sub exportSlice($$$$) {
$res = freenasRequest($FREENAS_API_RESOURCE_IST_ASSOC,
"POST", undef,
{"iscsi_target" => $tindex,
"iscsi_extent" => $eindex},
"iscsi_extent" => $eindex,
"iscsi_lunid" => 0},
undef, \$msg);
if (!$res) {
warn("*** ERROR: blockstore_exportSlice: $volname: ".
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment