mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Fixed a bug that was introduced in the previous revision: the script entered an infinite loop when the size specified through -s was smaller than 64MB.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -171,6 +171,7 @@ log2_blocksize=${log2_max_blocksize}
|
||||
while [ ! $log2_blocksize -lt $log2_min_blocksize ]
|
||||
do
|
||||
if [ $log2_blocksize -gt $log2_io_size ]; then
|
||||
log2_blocksize=$((log2_blocksize - 1))
|
||||
continue
|
||||
fi
|
||||
iosize=$(pow2 $log2_io_size)
|
||||
|
||||
Reference in New Issue
Block a user