Commit 9dc6029e authored by Nikolay Borisov's avatar Nikolay Borisov Committed by sanglipeng
Browse files

btrfs: replace calls to btrfs_find_free_ino with btrfs_find_free_objectid

stable inclusion
from stable-v5.10.181
commit a842fb6038e55c3602f23f5135c753da863b038e
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GJZJ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a842fb6038e55c3602f23f5135c753da863b038e



--------------------------------

[ Upstream commit abadc1fc ]

The former is going away as part of the inode map removal so switch
callers to btrfs_find_free_objectid. No functional changes since with
INODE_MAP disabled (default) find_free_objectid was called anyway.

Signed-off-by: default avatarNikolay Borisov <nborisov@suse.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
Stable-dep-of: 0004ff15 ("btrfs: fix space cache inconsistency after error loading it from disk")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 5274091d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment