Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=24037 Changes of 2.6.32 kernel.
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
sec_null.c
diff --git
a/lustre/ptlrpc/sec_null.c
b/lustre/ptlrpc/sec_null.c
index
dd4332b
..
4fc2242
100644
(file)
--- a/
lustre/ptlrpc/sec_null.c
+++ b/
lustre/ptlrpc/sec_null.c
@@
-340,7
+340,7
@@
int null_alloc_rs(struct ptlrpc_request *req, int msgsize)
static
void null_free_rs(struct ptlrpc_reply_state *rs)
{
- LASSERT
(cfs_atomic_read(&rs->rs_svc_ctx->sc_refcount) >
1);
+ LASSERT
_ATOMIC_GT(&rs->rs_svc_ctx->sc_refcount,
1);
cfs_atomic_dec(&rs->rs_svc_ctx->sc_refcount);
if (!rs->rs_prealloc)