btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
authorDavid Sterba <dsterba@suse.com>
Mon, 6 Jun 2022 17:32:59 +0000 (19:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:53 +0000 (11:23 +0100)
commitd5b7a34379faf42cf8ef63fb520f05e5d3d218d4
tree2c43125363743931efbc7978522aeb34bac80c8b
parentf4245f05389c29c0d556fea359b2fcfd8dce7bdb
btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino

[ Upstream commit e3059ec06b9f1a96826cc2bb6ed131aac0942446 ]

There's only one function we pass to iterate_inodes_from_logical as
iterator, so we can drop the indirection and call it directly, after
moving the function to backref.c

Signed-off-by: David Sterba <dsterba@suse.com>
Stable-dep-of: 418ffb9e3cf6 ("btrfs: free btrfs_path before copying inodes to userspace")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/backref.c
fs/btrfs/backref.h
fs/btrfs/ioctl.c