ocfs2: avoid a pointless delay in o2cb_cluster_check()
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 14 Apr 2015 22:43:02 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:57 +0000 (16:48 -0700)
commit7a8346429d6da4039a4687a8a07f3f8cdaf96d92
tree6f3a25fdef6b696c85239bf6cf64a153d5cb6dcf
parent43ee9cad8a81954eea893b52e08d0c00ca9baccc
ocfs2: avoid a pointless delay in o2cb_cluster_check()

Fix an off-by-one when attempting to avoid an msleep() on the final loop
iteration.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/stack_o2cb.c