projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d91dad4
)
fs/ocfs2/dlm/dlmmaster.c: clean up dead code
author
Changwei Ge
<
[email protected]
>
Thu, 1 Feb 2018 00:14:21 +0000
(16:14 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 1 Feb 2018 01:18:34 +0000
(17:18 -0800)
This code has been commented out for 12 years. Remove it.
Link:
http://lkml.kernel.org/r/63ADC13FD55D6546B7DECE290D39E373CED7EF9E@H3CMLB14-EX.srv.huawei-3com.com
Signed-off-by: Changwei Ge <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Cc: Joel Becker <
[email protected]
>
Cc: Junxiao Bi <
[email protected]
>
Cc: Joseph Qi <
[email protected]
>
Cc: Changwei Ge <
[email protected]
>
Cc: alex chen <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/dlm/dlmmaster.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/dlm/dlmmaster.c
b/fs/ocfs2/dlm/dlmmaster.c
index 9c3e0f13ca87dbd7860d4dea9721fd4421d41106..a7df226f944946be1f70fa24fc2de76cb573a5f2 100644
(file)
--- a/
fs/ocfs2/dlm/dlmmaster.c
+++ b/
fs/ocfs2/dlm/dlmmaster.c
@@
-1122,13
+1122,6
@@
recheck:
/* sleep if we haven't finished voting yet */
if (sleep) {
unsigned long timeo = msecs_to_jiffies(DLM_MASTERY_TIMEOUT_MS);
-
- /*
- if (kref_read(&mle->mle_refs) < 2)
- mlog(ML_ERROR, "mle (%p) refs=%d, name=%.*s\n", mle,
- kref_read(&mle->mle_refs),
- res->lockname.len, res->lockname.name);
- */
atomic_set(&mle->woken, 0);
(void)wait_event_timeout(mle->wq,
(atomic_read(&mle->woken) == 1),