btrfs: rename btrfs_find_highest_objectid to btrfs_init_root_free_objectid
authorNikolay Borisov <nborisov@suse.com>
Mon, 7 Dec 2020 15:32:32 +0000 (17:32 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 21:58:49 +0000 (22:58 +0100)
commit453e4873869f5e967188d8b018efc34a57eed44f
tree8d78b072b9a9edd04b1020deacc3f0ef38209cdd
parent149716570be98185150860fe922bf89ed080bd3c
btrfs: rename btrfs_find_highest_objectid to btrfs_init_root_free_objectid

This function is used to initialize the in-memory
btrfs_root::highest_objectid member, which is used to get an available
objectid. Rename it to better reflect its semantics.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/tree-log.c