Move more initialisation into commit_client
commit59f2da5885262c64260ee41deb7c462a8bcf245c
authorWouter Verhelst <w@uter.be>
Fri, 14 Apr 2017 19:41:52 +0000 (14 21:41 +0200)
committerWouter Verhelst <w@uter.be>
Fri, 14 Apr 2017 19:41:52 +0000 (14 21:41 +0200)
tree2e0b343a26665988d6b77ad40410c7afd436066e
parentc9e1584ceb8fe35b6aa3a00f4e51c200f3c051bd
Move more initialisation into commit_client

All callers were doing the same preparatory initialisation. That's a bit
silly; better to move it into the function instead.

Signed-off-by: Wouter Verhelst <w@uter.be>
nbd-server.c