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:
Stefan Behrens 2013-04-09 19:08:39 +02:00 committed by David Sterba
parent fea32e3983
commit 147525f11b
1 changed files with 1 additions and 1 deletions

View File

@ -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;