aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-08-06 15:49:34 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 13:20:31 -0300
commiteef5ad1086403d8ac8d91208a0e8dc34734b671c (patch)
tree6732856b9a4fe9726488d43f1b08462c6c159c8e /nbd.c
parent8b7f6fbbdc5545f749864fdf295f2fae14c7ef0a (diff)
hmp_change(): don't access DeviceEncrypted's data
It's not needed. As the device name is already known, we can replace the duplicated password prompting code by monitor_read_block_device_key(). This overly simplifies hmp_change(). Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions