btrfs: relocation: Cleanup while loop using rbtree_postorder_for_each_entry_safe
authorQu Wenruo <wqu@suse.com>
Fri, 21 Sep 2018 07:20:29 +0000 (15:20 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:40 +0000 (17:23 +0200)
commit98ff7b94e4daca8d7ea4352a9a7905cced597a4c
treebce4a901aad1c0a2f04bbff9b092c88082033b34
parent3628b4ca64f24a4ec55055597d0cb1c814729f8b
btrfs: relocation: Cleanup while loop using rbtree_postorder_for_each_entry_safe

And add one line comment explaining what we're doing for each loop.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c