blockdev: fix coding style issues in drive_backup_prepare
Fix a couple of minor coding style issues in drive_backup_prepare. Signed-off-by: Sergio Lopez <slp@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
9442bebe6e
commit
471ded690e
@ -3630,8 +3630,10 @@ static BlockJob *do_drive_backup(DriveBackup *backup, JobTxn *txn,
|
|||||||
|
|
||||||
flags = bs->open_flags | BDRV_O_RDWR;
|
flags = bs->open_flags | BDRV_O_RDWR;
|
||||||
|
|
||||||
/* See if we have a backing HD we can use to create our new image
|
/*
|
||||||
* on top of. */
|
* See if we have a backing HD we can use to create our new image
|
||||||
|
* on top of.
|
||||||
|
*/
|
||||||
if (backup->sync == MIRROR_SYNC_MODE_TOP) {
|
if (backup->sync == MIRROR_SYNC_MODE_TOP) {
|
||||||
source = backing_bs(bs);
|
source = backing_bs(bs);
|
||||||
if (!source) {
|
if (!source) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user