/* Check if the error is a "real" error that we should return.  */
static int err_block_err(int ret)
/* Check if the error is a "real" error that we should return.  */
static int err_block_err(int ret)
{
	if (ret && ret != -ENOSPC && ret != -ENODATA && ret != -EAGAIN)
		return 1;
	return 0;
}