blockdev: check for BLOCK_OP_TYPE_INTERNAL_SNAPSHOT
commit3dc7ca3c97dff8732e38828b38e0497efba0fedf
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 21 Nov 2014 10:49:00 +0000 (21 10:49 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Dec 2014 09:31:13 +0000 (10 10:31 +0100)
tree0819f2e9f3e91c8c0f08e97f0b7e1f2b789d27f9
parent5d6e96efb81f94f39a50110e8178584fb1817f66
blockdev: check for BLOCK_OP_TYPE_INTERNAL_SNAPSHOT

The BLOCK_OP_TYPE_INTERNAL_SNAPSHOT op blocker exists but was never
used!  Let's fix that so internal snapshots can be blocked.

[Fixed s/external/internal/ typo as pointed out by Paolo Bonzini and Max
Reitz.
--Stefan]

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1416566940-4430-5-git-send-email-stefanha@redhat.com
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c