diff options
Diffstat (limited to 'block/backup.c')
-rw-r--r-- | block/backup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/block/backup.c b/block/backup.c index f38d1d030e..c7596840e4 100644 --- a/block/backup.c +++ b/block/backup.c @@ -618,8 +618,9 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs, goto error; } - job = block_job_create(job_id, &backup_job_driver, bs, speed, - creation_flags, cb, opaque, errp); + /* FIXME Use real permissions */ + job = block_job_create(job_id, &backup_job_driver, bs, 0, BLK_PERM_ALL, + speed, creation_flags, cb, opaque, errp); if (!job) { goto error; } |