mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-11 15:16:57 +00:00
btrfs-progs: add btrfs_is_testing helper
This is sprinkled throughout the kernel code for the in-kernel self tests. Add the helper to btrfs-progs to make it easier to sync the kernel code. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f37cad074f
commit
4b968a3bf7
@ -389,6 +389,11 @@ static inline bool btrfs_is_zoned(const struct btrfs_fs_info *fs_info)
|
||||
return fs_info->zoned != 0;
|
||||
}
|
||||
|
||||
static inline bool btrfs_is_testing(const struct btrfs_fs_info *fs_info)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* The state of btrfs root
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user