hmp: Extend drive_del to delete nodes without BB
authorKevin Wolf <kwolf@redhat.com>
Tue, 23 Feb 2016 16:50:37 +0000 (17:50 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Mar 2016 15:46:43 +0000 (16:46 +0100)
commit2073d410ce3f2b1507bccd6aba68e8808647f9a9
tree781c3ab45c5cd27f735cb47317511db52b49404a
parentabb21ac3e602430bd7a35e88ecc2eb62c91c7b42
hmp: Extend drive_del to delete nodes without BB

Now that we can use drive_add to create new nodes without a BB, we also
want to be able to delete such nodes again.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
blockdev.c