]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use for loop in prealloc_file_extent_cluster
authorNikolay Borisov <nborisov@suse.com>
Wed, 17 Jun 2020 09:10:44 +0000 (12:10 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:27 +0000 (12:55 +0200)
commit992647a2c3a2dff8f5ea041577dc2906a39eabd2
tree5b2e1352664766051be2ac584c883585a0107f04
parentde6431d42f2250e9e91cf46224246defba795571
btrfs: use for loop in prealloc_file_extent_cluster

This function iterates all extents in the extent cluster, make this
intention obvious by using a for loop. No functional chanes.

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/relocation.c