mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 23:22:27 +00:00
Btrfs-progs: ignore subvols above BTRFS_LAST_FREE_OBJECTID
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
This commit is contained in:
parent
c38d9ca6f2
commit
42989f4929
@ -226,7 +226,7 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s)
|
||||
|
||||
if ((sh->objectid != 5 &&
|
||||
sh->objectid < BTRFS_FIRST_FREE_OBJECTID) ||
|
||||
sh->objectid == BTRFS_FREE_INO_OBJECTID)
|
||||
sh->objectid > BTRFS_LAST_FREE_OBJECTID)
|
||||
goto skip;
|
||||
|
||||
if (sh->type == BTRFS_ROOT_ITEM_KEY) {
|
||||
|
Loading…
Reference in New Issue
Block a user