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-13263 osc: use LDLM_LOCK_RELEASE() if no lu_ref added
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_lock.c
diff --git
a/lustre/osc/osc_lock.c
b/lustre/osc/osc_lock.c
index
d304fe1
..
e02e46d
100644
(file)
--- a/
lustre/osc/osc_lock.c
+++ b/
lustre/osc/osc_lock.c
@@
-597,7
+597,7
@@
int osc_ldlm_glimpse_ast(struct ldlm_lock *dlmlock, void *data)
cl_object_get(obj);
}
unlock_res_and_lock(dlmlock);
- LDLM_LOCK_
PUT
(dlmlock);
+ LDLM_LOCK_
RELEASE
(dlmlock);
dlmlock = NULL;