Whamcloud - gitweb
b=17524
authorgrev <grev>
Tue, 3 Mar 2009 13:07:05 +0000 (13:07 +0000)
committergrev <grev>
Tue, 3 Mar 2009 13:07:05 +0000 (13:07 +0000)
reset_enospc fn: fix defect of previous commit

lustre/tests/sanity.sh

index e6fc2bf..6fa8e8b 100644 (file)
@@ -941,8 +941,7 @@ reset_enospc() {
        mkdir -p $DIR/d27/nospc
        rmdir $DIR/d27/nospc
        local list=$(comma_list $(osts_nodes))
-       [ "$OSTIDX" ] && \
-               { var=ost$((OSTIDX + 1))_HOST && list=${!var}; }
+       [ "$OSTIDX" ] && list=$(facet_host ost$((OSTIDX + 1)))
 
        do_nodes $list lctl set_param fail_loc=$FAIL_LOC
 }