diff options
Diffstat (limited to 'block/snapshot-access.c')
-rw-r--r-- | block/snapshot-access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/snapshot-access.c b/block/snapshot-access.c index 0a30ec6..009cc4a 100644 --- a/block/snapshot-access.c +++ b/block/snapshot-access.c @@ -49,8 +49,8 @@ snapshot_access_co_block_status(BlockDriverState *bs, bytes, pnum, map, file); } -static int coroutine_fn snapshot_access_co_pdiscard(BlockDriverState *bs, - int64_t offset, int64_t bytes) +static int coroutine_fn GRAPH_RDLOCK +snapshot_access_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) { return bdrv_co_pdiscard_snapshot(bs->file->bs, offset, bytes); } |