commit | a67242907b41537907111ec689d3c44088c2f76b | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Jan 23 23:34:57 2024 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 04 16:24:47 2024 +0100 |
tree | e49344b3f9b9d9ac68f1fd362e7a716ae4467dfb | |
parent | 9dcb6ed9ce53d24e7b7fba7e02512787cd4dfa72 [diff] |
btrfs: handle invalid root reference found in btrfs_init_root_free_objectid() The btrfs_init_root_free_objectid() looks up a root by a key, allowing to do an inexact search when key->offset is -1. It's never expected to find such item, as it would break the allowed range of a root id. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>