diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-10-23 13:51:48 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:11 +0100 |
commit | 617c54a88eaba611bfaa917918c773a91c53692a (patch) | |
tree | d4c2d021aadd54cd7f0c2550d10fbc7051ecfbd4 /kernel/user.c | |
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>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions