]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67ebc34f67a59cea4b3f059f710550f8b45cfaf8
tree4a2e88f9eceb7c8f0e3277629a227d84b31c72af
parentf7f3ce803f76f5d7b1ee1a1db6f1ee59c5c72ef2
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