]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: tests: add cleanup functions for test specific functions
authorNaohiro Aota <naohiro.aota@wdc.com>
Mon, 26 Jan 2026 05:49:50 +0000 (14:49 +0900)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:59:05 +0000 (07:59 +0100)
commit392431cf9c2140b4356597f506f3e1e324e2ccfc
tree9c2092b009f816b10b6b259bbac5b4997b391db2
parenta56a70f8d20752c8be032ac03f7e8684dccdeb58
btrfs: tests: add cleanup functions for test specific functions

Add auto-cleanup helper functions for btrfs_free_dummy_fs_info and
btrfs_free_dummy_block_group.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/btrfs-tests.h