]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Use while loop instead of labels in __endio_write_update_ordered
authorNikolay Borisov <nborisov@suse.com>
Wed, 11 Apr 2018 08:21:17 +0000 (11:21 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:15 +0000 (18:07 +0200)
commitb58c5a31720623017a618ef37a010ed05cc1a69a
tree1876527271ee6a157e65b55e3da46f26826c5ff5
parenta82023c5d3d87f687024e8f7db37544e3e6726a9
btrfs: Use while loop instead of labels in __endio_write_update_ordered

Currently __endio_write_update_ordered uses labels to implement
what is essentially a simple while loop. This makes the code more
cumbersome to follow than it actually has to be. No functional
changes. No xfstest regressions were found during testing.

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