mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 22:53:35 +00:00
Btrfs-progs: fix bug in find_root_gen
A copy & paste error. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
This commit is contained in:
parent
fea32e3983
commit
147525f11b
@ -775,7 +775,7 @@ static u64 find_root_gen(int fd)
|
||||
|
||||
if (sk->min_type != BTRFS_ROOT_ITEM_KEY)
|
||||
break;
|
||||
if (sk->min_objectid != BTRFS_ROOT_ITEM_KEY)
|
||||
if (sk->min_objectid != ino_args.treeid)
|
||||
break;
|
||||
}
|
||||
return max_found;
|
||||
|
Loading…
Reference in New Issue
Block a user