Luiz Capitulino <lcapitul...@redhat.com> writes: > It's not needed. The device name is already known and > monitor_read_block_device_key() knows how to do the rest. This overly > simplifies hmp_change().
"overly"? My usual complaint about commit messages is that they fail to explain the change's purpose. Yours explains your reason just fine, but the description of what's done falls a bit short. I'd like to see something like "replace duplicated password prompting code by common monitor_read_block_device_key()".