]> git.baikalelectronics.ru Git - kernel.git/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:44:04 +0000 (12:44 +0100)
commitea6c036b9950d68cb2cba7c35c40bbe0da7d2ed3
treeafdc13baa01ba8e4caffe80c3c87629031f3763b
parentb16d7577db8800a798fe4dae7d85fd985507c978
btrfs: replace calls to btrfs_find_free_ino with btrfs_find_free_objectid

[ Upstream commit 1540cb4c9a2b495368e1041d952cb13e72df2850 ]

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