From 7f4591fb0b03d0fdcbaa412d797a062a73eaf425 Mon Sep 17 00:00:00 2001 From: ericm Date: Tue, 12 Dec 2006 20:56:05 +0000 Subject: [PATCH] branch: b_new_cmd test_bit take bit number not the value. --- lustre/ptlrpc/sec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/sec.c b/lustre/ptlrpc/sec.c index 07f5b4a..b1a4486 100644 --- a/lustre/ptlrpc/sec.c +++ b/lustre/ptlrpc/sec.c @@ -879,7 +879,7 @@ again: * 2. Current context never be refreshed, then we are fine: we * never really send request with old context before. */ - if (test_bit(PTLRPC_CTX_UPTODATE, &ctx->cc_flags) && + if (test_bit(PTLRPC_CTX_UPTODATE_BIT, &ctx->cc_flags) && req->rq_reqmsg && lustre_msg_get_flags(req->rq_reqmsg) & MSG_RESENT) { if (!list_empty(&req->rq_ctx_chain)) -- 1.8.3.1