nbd: Move transaction info from heap to stack
commit86e79a77092b3c6f84a02dc265a96ebb4b0ebd77
authorEric Blake <eblake@redhat.com>
Sat, 29 Jun 2019 17:00:12 +0000 (29 12:00 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 3 Jul 2019 18:16:42 +0000 (3 13:16 -0500)
tree6d9bfe3122f36db9f6ee5a67794ef991a40a4099
parent9b0c95e056fd07309a1c1461def91191c34184d6
nbd: Move transaction info from heap to stack

Prepare for the next patch using new API from libnbd by first
refactoring the per-transaction information to initialize the
semaphore earlier, and to use stack allocation rather than the heap.
plugins/nbd/nbd.c