btrfs: convert while loop to list_for_each_entry
authorNikolay Borisov <nborisov@suse.com>
Tue, 27 Jun 2017 07:02:24 +0000 (10:02 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 12:19:52 +0000 (14:19 +0200)
commitebcc9301eacb99350ef7e1e2492e5d18f7986ef8
tree0c2fd2319da6f7a36d5ba3e0c7ca5d62aac3f94f
parentef954844c7ace62f773f4f23e28d2d915adc419f
btrfs: convert while loop to list_for_each_entry

No functional changes, just make the loop a bit more readable

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