]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Rework virStorageBackendFileSystemMountCmd
authorJohn Ferlan <jferlan@redhat.com>
Mon, 3 Dec 2018 20:43:00 +0000 (15:43 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 13 Dec 2018 12:09:42 +0000 (07:09 -0500)
commitb663d4329ca844b1bdb536acaa2ae338bf435f74
tree0a6a591e80b684123288c97b1418ca8f4018bff5
parent515aa0c1847180f8da4287270f872c161993a047
storage: Rework virStorageBackendFileSystemMountCmd

Let's create helpers for each style of command line created. This
primarily is easier on the eyes rather than the large multi line
if-then-else-else clause used, but may also be useful if in the
future any particular pool needs to add to the command line based
on pool xml format.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/storage/storage_util.c