Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9327b49
)
branch: b_new_cmd
author
ericm
<ericm>
Tue, 12 Dec 2006 20:56:05 +0000
(20:56 +0000)
committer
ericm
<ericm>
Tue, 12 Dec 2006 20:56:05 +0000
(20:56 +0000)
test_bit take bit number not the value.
lustre/ptlrpc/sec.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/sec.c
b/lustre/ptlrpc/sec.c
index
07f5b4a
..
b1a4486
100644
(file)
--- 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))