block/nfs: fix naming of runtime opts
commitf67409a5bb43ebe74401fa8e187267eb0f139293
authorPeter Lieven <pl@kamp.de>
Wed, 1 Feb 2017 09:53:49 +0000 (1 10:53 +0100)
committerMax Reitz <mreitz@redhat.com>
Sat, 11 Feb 2017 23:47:42 +0000 (12 00:47 +0100)
treeb6802fc9681a87b7f97105cfe4023bd88e9e6929
parent8d20abe87afa735cd0ae6688bd105c7a27390343
block/nfs: fix naming of runtime opts

commit 94d6a7a accidentally left the naming of runtime opts and QAPI
scheme inconsistent. As one consequence passing of parameters in the
URI is broken. Sync the naming of the runtime opts to the QAPI
scheme.

Please note that this is technically backwards incompatible with the 2.8
release, but the 2.8 release is the only version that had the wrong naming.
Furthermore release 2.8 suffered from a NULL pointer dereference during
URI parsing.

Fixes: 94d6a7a76e9df9919629428f6c598e2b97d9426c
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Message-id: 1485942829-10756-3-git-send-email-pl@kamp.de
[mreitz: Fixed commit message]
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/nfs.c