btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
stable inclusion from stable-v5.10.158 commit d5b7a34379faf42cf8ef63fb520f05e5d3d218d4 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7NTXH Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d5b7a34379faf42cf8ef63fb520f05e5d3d218d4 -------------------------------- [ Upstream commit e3059ec0 ] 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: 418ffb9e ("btrfs: free btrfs_path before copying inodes to userspace") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment