commit | dc5f7a3bd820883793bb0d9789e938a34aa4da5f | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Tue Jan 20 15:11:39 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jan 21 18:06:48 2015 -0800 |
tree | 67367f8abf5106c522a2f7a20f21f0f829374c7f | |
parent | 7653947fe6d59db72fbc26c4fc9ef842febc79e3 [diff] |
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>