Whamcloud - gitweb
LU-12027 utils: fix "lfs find -amctime" comparison
[fs/lustre-release.git] / lustre / utils / liblustreapi.c
index f14d288..c7a8281 100644 (file)
@@ -3110,12 +3110,12 @@ static void lov_dump_comp_v1_entry(struct find_param *param,
  * (limit - margin, limit]. */
 static int find_value_cmp(unsigned long long file, unsigned long long limit,
                          int sign, int negopt, unsigned long long margin,
-                         int mds)
+                         bool mds)
 {
        int ret = -1;
 
        if (sign > 0) {
-               /* Drop the fraction of margin (of days). */
+               /* Drop the fraction of margin (of days or size). */
                if (file + margin <= limit)
                        ret = mds ? 0 : 1;
        } else if (sign == 0) {