diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-12-07 18:32:35 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-02-09 00:58:49 +0300 |
commit | 6b8fad576a3c8f822a888873c5acdfb31de53c4c (patch) | |
tree | c57bcdb7f4b072991df934aea17f0fb6eb27b501 /fs/btrfs/ioctl.c | |
parent | 543068a217a877bb6fa831fc448c9cc131db4feb (diff) | |
download | linux-6b8fad576a3c8f822a888873c5acdfb31de53c4c.tar.xz |
btrfs: rename btrfs_root::highest_objectid to free_objectid
This reflects the true purpose of the member as it's being used solely
in context where a new objectid is being allocated. Future changes will
also change the way it's being used to closely follow this 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>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index ec83803800c5..2041c4b6fd0e 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -725,7 +725,7 @@ static noinline int create_subvol(struct inode *dir, } mutex_lock(&new_root->objectid_mutex); - new_root->highest_objectid = new_dirid; + new_root->free_objectid = new_dirid; mutex_unlock(&new_root->objectid_mutex); /* |