diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-12-07 17:32:36 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-02-08 22:58:50 +0100 |
commit | 23125104d8485505cd19581025a3d6fc14e9945a (patch) | |
tree | 749e513da2f0c46d71fcd6e32c09031bb82663d6 /fs/xfs/xfs_extfree_item.h | |
parent | 6b8fad576a3c8f822a888873c5acdfb31de53c4c (diff) |
btrfs: make btrfs_root::free_objectid hold the next available objectid
Adjust the way free_objectid is being initialized, it now stores
BTRFS_FIRST_FREE_OBJECTID rather than the, somewhat arbitrary,
BTRFS_FIRST_FREE_OBJECTID - 1. This change also has the added benefit
that now it becomes unnecessary to explicitly initialize free_objectid
for a newly create fs root.
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/xfs/xfs_extfree_item.h')
0 files changed, 0 insertions, 0 deletions