]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8615da95e70031bd15e92d0b1e21caf6d35c89f6
tree918d8edb65d449a5ebd3faf854a77f50aa2bcb87
parentbf5055811d153248b38cf04585c47181ff5f3c64
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