btrfs-progs: build: add stub definition for non-zoned build

In commit 88895a920f ("btrfs-progs: use profile_supported in mkfs as
well") there's a wrapper but not available on non-zoned builds. Add it.

Issue: #445
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2022-02-07 17:40:25 +01:00
parent 89191f8c12
commit 471ca4a580
1 changed files with 5 additions and 0 deletions

View File

@ -199,6 +199,11 @@ static inline int btrfs_wipe_temporary_sb(struct btrfs_fs_devices *fs_devices)
return 0; return 0;
} }
static inline bool zoned_profile_supported(u64 map_type)
{
return false;
}
#endif /* BTRFS_ZONED */ #endif /* BTRFS_ZONED */
static inline bool btrfs_dev_is_sequential(struct btrfs_device *device, u64 pos) static inline bool btrfs_dev_is_sequential(struct btrfs_device *device, u64 pos)