btrfs: call inode_to_path directly and drop indirection
authorDavid Sterba <dsterba@suse.com>
Mon, 6 Jun 2022 16:52:24 +0000 (18:52 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:36 +0000 (17:45 +0200)
commitad6240f662cd7dfb449ac83dfcc74afb17750130
tree918d8edb65d449a5ebd3faf854a77f50aa2bcb87
parent6d322b483976f34b1217b9c1b4a54fa16c10bdc8
btrfs: call inode_to_path directly and drop indirection

The functions for iterating inode reference take a function parameter
but there's only one value, inode_to_path(). Remove the indirection and
call the function. As paths_from_inode would become just an alias for
iterate_irefs(), merge the two into one function.

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