Commit
4175f4dbec5d ("oslib: blkzoned: add blkzoned_move_zone_wp()
helper function") introduced the new function for Linux, but did not add
its stub function for OSes that lack the blkzoned feature. This caused
build failures on MacOS and Windows. Add the missing stub to fix it.
Fixes:
4175f4dbec5d ("oslib: blkzoned: add blkzoned_move_zone_wp() helper function")
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
{
return -EIO;
}
+static inline int blkzoned_move_zone_wp(struct thread_data *td,
+ struct fio_file *f, struct zbd_zone *z,
+ uint64_t length, const char *buf)
+{
+ return -EIO;
+}
static inline int blkzoned_get_max_open_zones(struct thread_data *td, struct fio_file *f,
unsigned int *max_open_zones)
{