Whamcloud - gitweb
LU-8843 build: fix all remaining less than 0 comparison for unsigned values
[fs/lustre-release.git] / lustre / lfsck / lfsck_bookmark.c
index 4663328..f3bdee7 100644 (file)
@@ -343,8 +343,7 @@ int lfsck_set_param(const struct lu_env *env, struct lfsck_instance *lfsck,
                }
 
                if (start->ls_valid & LSV_ASYNC_WINDOWS) {
-                       if (start->ls_async_windows < 1 ||
-                           start->ls_async_windows > LFSCK_ASYNC_WIN_MAX)
+                       if (start->ls_async_windows < 1)
                                return -EINVAL;
 
                        if (bk->lb_async_windows != start->ls_async_windows) {