btrfs: remove trivial goto label in __extent_writepage()
authorOmar Sandoval <osandov@fb.com>
Tue, 3 Dec 2019 01:34:21 +0000 (17:34 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 20 Jan 2020 15:40:54 +0000 (16:40 +0100)
commit169d2c875ec6461f6d18aaddbc1f30ba2b6b5a29
treea7ef4239a293e203882b0926dffb530ac144e5cf
parenteb70d2226347efe3b7de771f8034166c2740418d
btrfs: remove trivial goto label in __extent_writepage()

Since 40f765805f08 ("Btrfs: split up __extent_writepage to lower stack
usage"), done_unlocked is simply a return 0. Get rid of it.
Mid-statement block returns don seem to make the code less readable here.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c