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:
518df6b
)
ocfs2: break useless while loop
author
Junxiao Bi
<
[email protected]
>
Tue, 12 Nov 2013 23:07:02 +0000
(15:07 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 13 Nov 2013 03:09:01 +0000
(12:09 +0900)
Signed-off-by: Junxiao Bi <
[email protected]
>
Signed-off-by: Joel Becker <
[email protected]
>
Cc: Mark Fasheh <
[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 5a0ef78fe0297bc93a20a41686a9fd2b4c06781f..af3f7aa73e13a007d06fd528d8c8d101d2553087 100644
(file)
--- a/
fs/ocfs2/dlm/dlmmaster.c
+++ b/
fs/ocfs2/dlm/dlmmaster.c
@@
-1885,8
+1885,10
@@
ok:
* up nodes that this node contacted */
while ((nn = find_next_bit (mle->response_map, O2NM_MAX_NODES,
nn+1)) < O2NM_MAX_NODES) {
- if (nn != dlm->node_num && nn != assert->node_idx)
+ if (nn != dlm->node_num && nn != assert->node_idx)
{
master_request = 1;
+ break;
+ }
}
}
mle->master = assert->node_idx;