]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: simplify returns and labels in btrfs_init_fs_root()
authorDavid Sterba <dsterba@suse.com>
Wed, 12 Feb 2025 20:22:14 +0000 (21:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:43 +0000 (20:35 +0100)
commitf867ccabb8f39986d90aa0e4b8a05a1115cbbbd8
treeda451cd99b529be2b9b2d6539912a46bc2bd81e9
parentdba6ae0b439f128b358a040974f69793722f8801
btrfs: simplify returns and labels in btrfs_init_fs_root()

There's a label that does nothing else than return, so remove it and
also change other gotos to immediate returns as the function is short
enough for this pattern.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c