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>
Loading
Please register or sign in to comment