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:Nikolay Borisov <nborisov@suse.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com> Stable-dep-of: 0004ff15 ("btrfs: fix space cache inconsistency after error loading it from disk") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment