static void write_threshold_disable(BlockDriverState *bs) { if (bdrv_write_threshold_is_set(bs)) { notifier_with_return_remove(&bs->write_threshold_notifier); bs->write_threshold_offset = 0; } }
void postcopy_remove_notifier(NotifierWithReturn *n) { notifier_with_return_remove(n); }