]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ocfs2/dlm: clean up useless BUG_ON default case in dlm_finalize_reco_handler()
authorpiaojun <piaojun@huawei.com>
Tue, 13 Dec 2016 00:41:08 +0000 (16:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:06 +0000 (18:55 -0800)
commit46832b2de5fa42519c4924a9d0751d9297012ca9
treeca31a5211b9ad4631bb801eb046fffc1cce48af0
parent3da82065f1e59fd280742cd792cbf2fb2052958f
ocfs2/dlm: clean up useless BUG_ON default case in dlm_finalize_reco_handler()

The value of 'stage' must be between 1 and 2, so the switch can't reach
the default case.

Link: http://lkml.kernel.org/r/57FB5EB2.7050002@huawei.com
Signed-off-by: Jun Piao <piaojun@huawei.com>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/dlm/dlmrecovery.c