From 098b9f6c3ebfd737d5225b84eb9745eff338492b Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 26 Jul 2009 07:33:30 +0000 Subject: [PATCH] - bug in the assertion is fixed --- lustre/ofd/ofd_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ofd/ofd_io.c b/lustre/ofd/ofd_io.c index 5d07e7a..b5cb710 100644 --- a/lustre/ofd/ofd_io.c +++ b/lustre/ofd/ofd_io.c @@ -68,7 +68,7 @@ static int filter_preprw_read(const struct lu_env *env, nb + i, res + j, 0, filter_object_capa(env, fo)); LASSERT(rc > 0); - LASSERT(rc < PTLRPC_MAX_BRW_PAGES); + LASSERT(rc <= PTLRPC_MAX_BRW_PAGES); /* correct index for local buffers to continue with */ j += rc; LASSERT(j <= PTLRPC_MAX_BRW_PAGES); -- 1.8.3.1