]> 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)
commitd0d5362952f86e91c181d14033aa261094427f64
tree5b2e1352664766051be2ac584c883585a0107f04
parentf6b38db9a38150926138118c658f7d313d911167
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