btrfs: open code btrfs_backref_get_eb()
authorDavid Sterba <dsterba@suse.com>
Fri, 16 Feb 2024 14:53:25 +0000 (15:53 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:52 +0000 (16:24 +0100)
commitef923440e252531c1a468626b3ad4aa7d13f9f83
tree1df5db429b3e1386c7bb47c68ded31b7cbcb1c33
parent56430c14a627a70319b670aea53b117fd33e989f
btrfs: open code btrfs_backref_get_eb()

The helper is trivial, we can inline it. It's safe to remove the 'if' as
the iterator is always valid when used, the potential NULL was never
checked anyway.

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