]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/301: fix hardcoded subvolids
authorBoris Burkov <boris@bur.io>
Mon, 20 Nov 2023 21:10:54 +0000 (13:10 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 10 Dec 2023 13:38:00 +0000 (21:38 +0800)
commitbd64bed7532532a1659830cf0709cb3a07933013
tree9a33c1e511cead83ee5df1041a9a17d7ffce0c49
parent2a4fef036ee795e57069d928bbe48c07be9b0e77
btrfs/301: fix hardcoded subvolids

Hardcoded subvolids break test runs with no free-space-tree, so change
the test to use _btrfs_get_subvolid instead of assuming 256, 257, etc...

Signed-off-by: Boris Burkov <boris@bur.io>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/301