block/nbd: Use qdict_put()
authorMax Reitz <mreitz@redhat.com>
Tue, 25 Oct 2016 13:11:32 +0000 (15:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 27 Oct 2016 17:05:23 +0000 (19:05 +0200)
commitfcfcd8ffccd81b6fc13a730e2a75cefc5d1eb752
tree216b76b3155fc25db9e711f5f4da4b5b410999d2
parent7edca33804f9b6948a65c04f969facf02a59e6fe
block/nbd: Use qdict_put()

Instead of inlining this nice macro (i.e. resorting to
qdict_put_obj(..., QOBJECT(...))), use it.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nbd.c