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
LU-4199 libcfs: remove assertion of spin_is_locked()
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
lproc_ptlrpc.c
diff --git
a/lustre/ptlrpc/lproc_ptlrpc.c
b/lustre/ptlrpc/lproc_ptlrpc.c
index
2a5b643
..
84b0460
100644
(file)
--- a/
lustre/ptlrpc/lproc_ptlrpc.c
+++ b/
lustre/ptlrpc/lproc_ptlrpc.c
@@
-459,7
+459,7
@@
void nrs_policy_get_info_locked(struct ptlrpc_nrs_policy *policy,
{
LASSERT(policy != NULL);
LASSERT(info != NULL);
-
LASSERT(spin_is_locked(&policy->pol_nrs->nrs_lock)
);
+
assert_spin_locked(&policy->pol_nrs->nrs_lock
);
memcpy(info->pi_name, policy->pol_desc->pd_name, NRS_POL_NAME_MAX);