Wrong param to get free space in space_check () function
Signed-off-by: Konstantin Sandalov <konstantin_sandalov@xyratex.com>
Change-Id: I34abf6d63f081a515aaf95248bf5c4fc0896e024
Reviewed-on: http://review.whamcloud.com/7397
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
local stripe=$($LFS getstripe -c $testdir)
# if stripe_count = 1 the size should be less than min ost size, bug 24294
- local space=$(lfs_df $testdir | grep "summary" | awk '{print $2}')
+ local space=$(lfs_df $testdir | grep "summary" | awk '{print $4}')
[ $stripe -eq 1 ] && space=$(min_ost_size)
local size=$(pios_file_size)