mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 09:16:55 +07:00
ocfs2: break useless while loop
Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
518df6bdf3
commit
728b98059a
@ -1885,8 +1885,10 @@ int dlm_assert_master_handler(struct o2net_msg *msg, u32 len, void *data,
|
||||
* 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;
|
||||
|
Loading…
Reference in New Issue
Block a user