btrfs-progs: use symbolic name for first inode number when searching

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-10-31 11:01:23 +01:00
parent 86d2e4b64b
commit f6f9cd0cb7
1 changed files with 1 additions and 1 deletions

View File

@ -4942,7 +4942,7 @@ static int check_fs_first_inode(struct btrfs_root *root, unsigned int ext_ref)
path = btrfs_alloc_path();
if (!path)
return -ENOMEM;
key.objectid = 256;
key.objectid = BTRFS_FIRST_FREE_OBJECTID;
key.type = BTRFS_INODE_ITEM_KEY;
key.offset = 0;