Add flag to indicate external users to block device
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 26 Jan 2011 14:12:34 +0000 (12:12 -0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Feb 2011 11:51:19 +0000 (12:51 +0100)
commitf0d6ac41fbec74c755a20ada3295a3571c684938
tree0d7d11a025b200752ef2f7907ddedfc1bf4e545b
parent2f8c0c1493e5b46de85e7882f2d3870ce20c896b
Add flag to indicate external users to block device

Certain operations such as drive_del or resize cannot be performed
while external users (eg. block migration) reference the block device.

Add a flag to indicate that.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
block_int.h