commit | 617c54a88eaba611bfaa917918c773a91c53692a | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Mon Oct 23 13:51:48 2017 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 16:08:11 2018 +0100 |
tree | d4c2d021aadd54cd7f0c2550d10fbc7051ecfbd4 | |
parent | d3fac6ba7dccc54f52087bb9d7b9be27aa6fa622 [diff] |
btrfs: Make btrfs_async_run_delayed_root use a loop rather than multiple labels Currently btrfs_async_run_delayed_root's implementation uses 3 goto labels to mimic the functionality of a simple do {} while loop. Refactor the function to use a do {} while construct, making intention clear and code easier to follow. No functional changes. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>