/* Helper to flush the IOs in loop, but keeping loop thread running  */
static int loop_flush(struct loop_device *lo)
/* Helper to flush the IOs in loop, but keeping loop thread running  */
static int loop_flush(struct loop_device *lo)
{
	if (!lo->lo_thread)
		return 0;
	return loop_switch(lo, NULL);
}