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=18551 wrapper functions for ldlm->namespace & res->namespace
[fs/lustre-release.git]
/
lustre
/
obdfilter
/
filter.c
diff --git
a/lustre/obdfilter/filter.c
b/lustre/obdfilter/filter.c
index
6f55d0e
..
f3ddd57
100644
(file)
--- a/
lustre/obdfilter/filter.c
+++ b/
lustre/obdfilter/filter.c
@@
-1699,7
+1699,7
@@
static int filter_intent_policy(struct ldlm_namespace *ns,
* lock, and should not be granted if the lock will be blocked.
*/
- LASSERT(ns ==
res->lr_namespace
);
+ LASSERT(ns ==
ldlm_res_to_ns(res)
);
lock_res(res);
rc = policy(lock, &tmpflags, 0, &err, &rpc_list);
check_res_locked(res);