diff --git a/qtfs/qtfs_server/fsops.c b/qtfs/qtfs_server/fsops.c index 7fc5aa202052245550eb5270adcc1f41ecc27557..7cee08fa61b929184fded743bea2256294e4e8d9 100644 --- a/qtfs/qtfs_server/fsops.c +++ b/qtfs/qtfs_server/fsops.c @@ -1041,7 +1041,7 @@ int qtfs_sock_server_run(struct qtfs_sock_var_s *pvar) totalproc++; qtinfo_recvinc(req->type); } - if (rsp->len >= QTFS_REQ_MAX_LEN) { + if (rsp->len > QTFS_REQ_MAX_LEN) { qtfs_err("handle rsp len error type:%d len:%lu", rsp->type, rsp->len); WARN_ON(1); continue;