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:
f018f5b
)
b=20775,i=wangdi:
author
isaac
<isaac>
Mon, 19 Oct 2009 18:51:35 +0000
(18:51 +0000)
committer
isaac
<isaac>
Mon, 19 Oct 2009 18:51:35 +0000
(18:51 +0000)
- simple cleanup: use LASSERT_SPIN_LOCKED instead.
lustre/ptlrpc/service.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/service.c
b/lustre/ptlrpc/service.c
index
ae5f648
..
ce6482d
100644
(file)
--- a/
lustre/ptlrpc/service.c
+++ b/
lustre/ptlrpc/service.c
@@
-186,9
+186,7
@@
ptlrpc_schedule_difficult_reply (struct ptlrpc_reply_state *rs)
{
struct ptlrpc_service *svc = rs->rs_service;
-#ifdef CONFIG_SMP
- LASSERT (spin_is_locked (&svc->srv_lock));
-#endif
+ LASSERT_SPIN_LOCKED (&svc->srv_lock);
LASSERT (rs->rs_difficult);
rs->rs_scheduled_ever = 1; /* flag any notification attempt */