Commit 54b7af43 authored by Kevin Wolf's avatar Kevin Wolf Committed by Jeff Cody
Browse files

nfs: Fix error path in nfs_options_qdict_to_qapi()



Don't throw away local_err, but propagate it to errp.

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Message-id: 20180516161034.27440-1-kwolf@redhat.com
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Reviewed-by: default avatarJeff Cody <jcody@redhat.com>
Signed-off-by: default avatarJeff Cody <jcody@redhat.com>
parent 4c7e813c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -570,6 +570,7 @@ static BlockdevOptionsNfs *nfs_options_qdict_to_qapi(QDict *options,
    qobject_unref(crumpled);

    if (local_err) {
        error_propagate(errp, local_err);
        return NULL;
    }