in function find_value_cmp(lustre/utils/liblustreapi.c), the data type for
parameters "file" and "limit" is converted from "unsigned long long" type
into "unsigned int" type by mistake, and the file size should be defined
as "unsigned long long" type too.
Change-Id: I83326b50860bdfeb4cd31509f99f7ab1b6a8ab13
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1401
Tested-by: Hudson
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
* --------------------------------------
* Note: 5th actually means that the value is within the interval
* (limit - margin, limit]. */
-static int find_value_cmp(unsigned int file, unsigned int limit, int sign,
- int negopt, unsigned long long margin, int mds)
+static int find_value_cmp(unsigned long long file, unsigned long long limit,
+ int sign, int negopt, unsigned long long margin,
+ int mds)
{
int ret = -1;