- I=0
- J=0
- while [ ! $I -gt $((MAX * MDSCOUNT)) ]; do
- multiop $DIR/$tdir/$J Oc
- rc=$?
- if [ $rc -eq $EFBIG ]; then
- set_dir_limits 0
- echo "return code $rc received as expected"
- return 0
- elif [ $rc -ne 0 ]; then
- set_dir_limits 0
- error_exit "return code $rc received instead of expected $EFBIG"
- fi
- J=$((J+1))
- I=$(stat -c%s "$DIR/$tdir")
- done
+ I=0
+ J=0
+ while [ ! $I -gt $((MAX * MDSCOUNT)) ]; do
+ multiop $DIR/$tdir/$J Oc
+ rc=$?
+ if [ $rc -eq $EFBIG ]; then
+ set_dir_limits 0
+ echo "return code $rc received as expected"
+ return 0
+ elif [ $rc -ne 0 ]; then
+ set_dir_limits 0
+ error_exit "return code $rc received instead of expected $EFBIG"
+ fi
+ J=$((J+1))
+ I=$(stat -c%s "$DIR/$tdir")
+ done