btrfs: Small cleanup for get index_srcdev loop
authorZhao Lei <zhaolei@cn.fujitsu.com>
Wed, 9 Dec 2015 13:03:49 +0000 (21:03 +0800)
committerChris Mason <clm@fb.com>
Wed, 20 Jan 2016 02:43:40 +0000 (18:43 -0800)
commit94a97dfeb61e32a213ca5519b063076c5201c5b2
tree4a2e88f9eceb7c8f0e3277629a227d84b31c72af
parentf04b772bfc17f502703794f4d100d12155c1a1a9
btrfs: Small cleanup for get index_srcdev loop

1: Adjust condition in loop to make less TAB
2: Move btrfs_put_bbio()'s line for combine, and makes logic clean.

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