]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: avoid a pointless delay in o2cb_cluster_check()
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 7 Apr 2015 23:43:52 +0000 (09:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:43:52 +0000 (09:43 +1000)
commit5ee834d20155fd09e00a470f50593f071f7e0a2f
treee2d311d8cae4d4b699354fa1005f16afff406dda
parent2c12af6ab9066fd67b31c9e88e08678797ad3165
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>
fs/ocfs2/stack_o2cb.c