btrfs-progs: Replace usage of list_for_each with list_for_each_entry
authorNikolay Borisov <nborisov@suse.com>
Thu, 7 Dec 2017 09:10:05 +0000 (11:10 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 31 Jan 2018 14:14:01 +0000 (15:14 +0100)
commit8075fd4da1a5c759261413461a4bd7f9af81722c
treee1ce1da4ea6ef05be6bfcb191fd8642ae77e2190
parent90a00b3c79584eee7c282623c39ec88d3662be25
btrfs-progs: Replace usage of list_for_each with list_for_each_entry

There are a couple of places where instead of the more succinct
list_for_each_entry the code uses list_for_each. This results in
slightly more code with no additional benefit as well as no
coherent pattern. This patch makes the code uniform. No functional
changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
[ remove unused variable in uuid_search ]
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-filesystem.c
disk-io.c
utils.c
volumes.c