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:
parent
89191f8c12
commit
471ca4a580
|
@ -199,6 +199,11 @@ static inline int btrfs_wipe_temporary_sb(struct btrfs_fs_devices *fs_devices)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static inline bool zoned_profile_supported(u64 map_type)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif /* BTRFS_ZONED */
|
||||
|
||||
static inline bool btrfs_dev_is_sequential(struct btrfs_device *device, u64 pos)
|
||||
|
|
Loading…
Reference in New Issue