OSDN Git Service

btrfs: raid56: assign bio in while() when using bio_list_pop
authorNikolay Borisov <nborisov@suse.com>
Thu, 2 Jul 2020 13:46:43 +0000 (16:46 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:41 +0000 (12:55 +0200)
commitbf28a605e626a7c0169584f22f5dc96ce92ae813
tree43cc5fbbea0470e209cc3efc29ab3e7f6a3be444
parentf90ae76a5c2c746c06f11a1709e9149ab2666ea4
btrfs: raid56: assign bio in while() when using bio_list_pop

Unify the style in the file such that return value of bio_list_pop is
assigned directly in the while loop. This is in line with the rest of
the kernel.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c