summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-12-07 17:32:35 +0200
committerDavid Sterba <dsterba@suse.com>2021-02-08 22:58:49 +0100
commit6b8fad576a3c8f822a888873c5acdfb31de53c4c (patch)
treec57bcdb7f4b072991df934aea17f0fb6eb27b501 /fs/btrfs/ioctl.c
parent543068a217a877bb6fa831fc448c9cc131db4feb (diff)
downloadlinux-6b8fad576a3c8f822a888873c5acdfb31de53c4c.tar.bz2
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.c2
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);
/*