]> git.itanic.dy.fi Git - linux-stable/commit
btrfs: replace calls to btrfs_find_free_ino with btrfs_find_free_objectid
authorNikolay Borisov <nborisov@suse.com>
Thu, 26 Nov 2020 13:10:38 +0000 (15:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:42:10 +0000 (12:42 +0100)
commit660f9b590e80e370046f5dc8afd36d8b1ef3d705
tree92445fb28ed5556c4debb914a0ebece70d5f2b8d
parent71fa6f134d13822a5dd906327de04aad8e903e49
btrfs: replace calls to btrfs_find_free_ino with btrfs_find_free_objectid

[ Upstream commit abadc1fcd72e887a8f875dabe4a07aa8c28ac8af ]

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: 0004ff15ea26 ("btrfs: fix space cache inconsistency after error loading it from disk")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/inode.c