mirror: block all operations on the target image during the job
commit10f3cd15dd9913f8d959fbd061e6e00c45432093
authorAlberto Garcia <berto@igalia.com>
Mon, 2 Nov 2015 14:51:53 +0000 (2 16:51 +0200)
committerMax Reitz <mreitz@redhat.com>
Wed, 11 Nov 2015 15:55:28 +0000 (11 16:55 +0100)
tree9af6feec99a2c28af8dde12546f301e28fb29dbc
parente6c17669eb0868013d9a17050d8eb2d598f06067
mirror: block all operations on the target image during the job

There's nothing preventing the target image from being used by other
operations during the 'drive-mirror' job, so we should block them all
until the job is done.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 82b88fd04cde918a08a6f9a4ab85626d7fd7b502.1446475331.git.berto@igalia.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/mirror.c