Btrfs: Break loop when reach BTRFS_MAX_MIRRORS in scrub_setup_recheck_block()
authorZhao Lei <zhaolei@cn.fujitsu.com>
Tue, 20 Jan 2015 07:11:39 +0000 (15:11 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Jan 2015 02:06:48 +0000 (18:06 -0800)
commitdc5f7a3bd820883793bb0d9789e938a34aa4da5f
tree67367f8abf5106c522a2f7a20f21f0f829374c7f
parent7653947fe6d59db72fbc26c4fc9ef842febc79e3
Btrfs: Break loop when reach BTRFS_MAX_MIRRORS in scrub_setup_recheck_block()

Use break instead of useless loop should be more suitable in this
case.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c