commit | fef998d1a0b00ab35658484060354213a2c06c81 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Thu Apr 18 00:47:13 2024 +0200 |
committer | David Sterba <dsterba@suse.com> | Tue May 07 21:31:07 2024 +0200 |
tree | 7be7c24ac830e780fb63ec9b1de0c79865da11d9 | |
parent | 905a95f3dd25abba64cad3e7a96947fcb9bf7006 [diff] |
btrfs: use btrfs_is_testing() everywhere There are open coded tests of BTRFS_FS_STATE_DUMMY_FS_INFO and we have a wrapper for that that's a compile-time constant when self-tests are not built in. As this is only for development we can save some bytes and conditions on release configs by using the helper in the remaining cases. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>