Am 27.10.2026 um 21:07 hat Stefan Hajnoczi geschrieben: > Kevin Wolf pointed out that the multipath_process_cmd() documentation > only defines the value of reply on success. Don't touch it when the > function returns -1. > > The libmpathcmd implementation as of c78cf64a9e8e does not set *reply to > NULL when its internal mpath_send_cmd() call fails, so I think Kevin's > interpretation is correct. > > As it stands, there is no observable bug in the QEMU code though because > reply is initialized to NULL before calling multipath_process_cmd(). > This patch is just a cleanup. > > Cc: Benjamin Marzinski <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Stefan Hajnoczi <[email protected]>
Thanks, applied to the block branch. Kevin
