]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/287,btrfs/293: filter all btrfs subvolume delete calls
authorJosef Bacik <josef@toxicpanda.com>
Tue, 5 Mar 2024 18:52:19 +0000 (19:52 +0100)
committerZorro Lang <zlang@kernel.org>
Mon, 11 Mar 2024 04:50:09 +0000 (12:50 +0800)
commitf682432926a08b288c38d51045bcef07a643a59c
treecabea2aedb25e37cc5b5cc41a6d2ac5f05dd2b32
parent94937700f4ee0b7e9d993c40a69ccf4716d5e724
btrfs/287,btrfs/293: filter all btrfs subvolume delete calls

Some of our btrfs subvolume delete calls get put into the golden output,
and many of them simply _filter_scratch.  This works fine, but we
recently changed btrfs subvolume delete output, and it would have been
nice to simply filter this in one place.  We have a
_filter_btrfs_subvol_delete helper, but it's only used in one place.
Fix all of these uses to call _filter_btrfs_subvol_delete, this will
allow for follow up fixes against _filter_btrfs_subvol_delete itself to
deal with changed output.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
tests/btrfs/287
tests/btrfs/287.out
tests/btrfs/293
tests/btrfs/293.out