Commit 3d12e4a3 authored by David Sterba's avatar David Sterba Committed by sanglipeng
Browse files

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: default avatarDavid Sterba <dsterba@suse.com>
Stable-dep-of: 418ffb9e ("btrfs: free btrfs_path before copying inodes to userspace")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 6b33e607
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment