]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/block/blockjob_int.h
job: Move transactions to Job
[mirror_qemu.git] / include / block / blockjob_int.h
index ce66a9b51c5a30c9b7c48b65d4031a4889c8c235..29a28020ac45258eec327121d1d1d509488fdd94 100644 (file)
@@ -38,16 +38,6 @@ struct BlockJobDriver {
     /** Generic JobDriver callbacks and settings */
     JobDriver job_driver;
 
-    /**
-     * If the callback is not NULL, prepare will be invoked when all the jobs
-     * belonging to the same transaction complete; or upon this job's completion
-     * if it is not in a transaction.
-     *
-     * This callback will not be invoked if the job has already failed.
-     * If it fails, abort and then clean will be called.
-     */
-    int (*prepare)(BlockJob *job);
-
     /*
      * If the callback is not NULL, it will be invoked before the job is
      * resumed in a new AioContext.  This is the place to move any resources