projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cd04db
)
ocfs2_dlm: Drop inflight refmap even if no locks found on the lockres
author
Kurt Hackel
<kurt.hackel@oracle.com>
Wed, 17 Jan 2007 22:54:39 +0000
(14:54 -0800)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Wed, 7 Feb 2007 20:03:42 +0000
(12:03 -0800)
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmrecovery.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/dlm/dlmrecovery.c
b/fs/ocfs2/dlm/dlmrecovery.c
index f93315c9887101b2897e9fea31c8cb462757a07b..2e32fe65c6c212aa1c5f967ae0db59538b887522 100644
(file)
--- a/
fs/ocfs2/dlm/dlmrecovery.c
+++ b/
fs/ocfs2/dlm/dlmrecovery.c
@@
-1908,11
+1908,9
@@
skip_lvb:
leave:
/* balance the ref taken when the work was queued */
- if (added > 0) {
- spin_lock(&res->spinlock);
- dlm_lockres_drop_inflight_ref(dlm, res);
- spin_unlock(&res->spinlock);
- }
+ spin_lock(&res->spinlock);
+ dlm_lockres_drop_inflight_ref(dlm, res);
+ spin_unlock(&res->spinlock);
if (ret < 0) {
mlog_errno(ret);