From 188ff151dacefe4689e2c59316eb1dd459eaa935 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 13 Feb 2007 21:03:49 +0000 Subject: [PATCH] thread id starts counting at 1 --- lustre/ost/ost_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index b3eec45..1377fca6 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -1586,7 +1586,7 @@ static int ost_thread_init(struct ptlrpc_thread *thread) LASSERT(thread != NULL); LASSERT(thread->t_data == NULL); - LASSERT(thread->t_id < OSS_THREADS_MAX); + LASSERT(thread->t_id <= OSS_THREADS_MAX); OBD_ALLOC_PTR(tls); if (tls != NULL) { -- 1.8.3.1