]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: move __btrfs_bio_end_io() code into its single caller
authorFilipe Manana <fdmanana@suse.com>
Wed, 5 Mar 2025 12:22:39 +0000 (12:22 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:49 +0000 (20:35 +0100)
commit530b601b912c42900a37d849b8a3592c8a560432
treeaf6c46d4dd26abe0e513dc8c8496834a95f90a2d
parent4c782247b89376a83fa132f7d45d6977edae0629
btrfs: move __btrfs_bio_end_io() code into its single caller

The __btrfs_bio_end_io() helper is trivial and has a single caller, so
there's no point in having a dedicated helper function. Further the double
underscore prefix in the name is discouraged. So get rid of it and move
its code into the caller (btrfs_bio_end_io()).

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/bio.c