Revision 384acbf4 block.c

b/block.c
2777 2777
    struct iovec iov;
2778 2778
    QEMUIOVector qiov;
2779 2779

  
2780
    async_context_push();
2781

  
2782 2780
    async_ret = NOT_DONE;
2783 2781
    iov.iov_base = (void *)buf;
2784 2782
    iov.iov_len = nb_sectors * BDRV_SECTOR_SIZE;
......
2796 2794

  
2797 2795

  
2798 2796
fail:
2799
    async_context_pop();
2800 2797
    return async_ret;
2801 2798
}
2802 2799

  
......
2808 2805
    struct iovec iov;
2809 2806
    QEMUIOVector qiov;
2810 2807

  
2811
    async_context_push();
2812

  
2813 2808
    async_ret = NOT_DONE;
2814 2809
    iov.iov_base = (void *)buf;
2815 2810
    iov.iov_len = nb_sectors * BDRV_SECTOR_SIZE;
......
2825 2820
    }
2826 2821

  
2827 2822
fail:
2828
    async_context_pop();
2829 2823
    return async_ret;
2830 2824
}
2831 2825

  

Also available in: Unified diff