The next two patches fix the wrong error message in block_passwd monitor command: when trying to decrypt un-encrypted drive, user get error wrong password.
"1" add error message to qerror.h and qerror.c "2" patch the monitor command error handling Shahar Havivi (2): QError: New QERR_DEVICE_NOT_ENCRYPTED Wrong error message in block_passwd command block.c | 7 +++++-- monitor.c | 7 ++++++- qerror.c | 4 ++++ qerror.h | 3 +++ 4 files changed, 18 insertions(+), 3 deletions(-)