include/block.h: remove outdated comment
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Fri, 3 Sep 2021 11:38:00 +0000 (13:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 6 Oct 2021 08:25:55 +0000 (10:25 +0200)
commita6297e1ade6d9981c4a8d43eb426830b49a7913c
treed374b3f2b49b7e23c285e4277991d8bbd4a5de84
parente3acc2c1961cbe22ca474cd5da4163b7bbf7cea3
include/block.h: remove outdated comment

There are a couple of errors in bdrv_drained_begin header comment:
- block_job_pause does not exist anymore, it has been replaced
  with job_pause in b15de82867
- job_pause is automatically invoked as a .drained_begin callback
  (child_job_drained_begin) by the child_job BdrvChildClass struct
  in blockjob.c. So no additional pause should be required.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20210903113800.59970-1-eesposit@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/block/block.h