This function iterates over all filesystems, not just -fsdevs.
Rename it to free the name for a function that actually builds fsdevs.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/qemu/qemu_command.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 6b0cd7f36d..9d5d54fd6e 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -2802,9 +2802,9 @@ qemuBuildFSDevStr(const virDomainDef *def,
static int
-qemuBuildFSDevCommandLine(virCommandPtr cmd,
- const virDomainDef *def,
- virQEMUCapsPtr qemuCaps)
+qemuBuildFilesystemCommandLine(virCommandPtr cmd,
+ const virDomainDef *def,
+ virQEMUCapsPtr qemuCaps)
{
size_t i;
@@ -10754,7 +10754,7 @@ qemuBuildCommandLine(virQEMUDriverPtr driver,
if (qemuBuildDisksCommandLine(cmd, def, qemuCaps) < 0)
goto error;
- if (qemuBuildFSDevCommandLine(cmd, def, qemuCaps) < 0)
+ if (qemuBuildFilesystemCommandLine(cmd, def, qemuCaps) < 0)
goto error;
if (qemuBuildNetCommandLine(driver, logManager, secManager, cmd, def,
--
2.19.2