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-8047 llite: optimizations for not granted lock processing
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_inodebits.c
diff --git
a/lustre/ldlm/ldlm_inodebits.c
b/lustre/ldlm/ldlm_inodebits.c
index
fd1c62c
..
4d66c20
100644
(file)
--- a/
lustre/ldlm/ldlm_inodebits.c
+++ b/
lustre/ldlm/ldlm_inodebits.c
@@
-210,7
+210,7
@@
int ldlm_process_inodebits_lock(struct ldlm_lock *lock, __u64 *flags,
ENTRY;
- LASSERT(
lock->l_granted_mode != lock->l_req_mode
);
+ LASSERT(
!ldlm_is_granted(lock)
);
check_res_locked(res);
if (intention == LDLM_PROCESS_RESCAN) {