Harald Hoyer d4ee25
From 091169fa11a366ab42fb6f71c22e8ed95868f804 Mon Sep 17 00:00:00 2001
Harald Hoyer d4ee25
From: David Mackey <tdmackey@booleanhaiku.com>
Harald Hoyer d4ee25
Date: Thu, 12 Sep 2013 19:45:49 -0700
Harald Hoyer d4ee25
Subject: [PATCH] automount: rename repeat_unmont to repeat_unmount
Harald Hoyer d4ee25
Harald Hoyer d4ee25
Trivial cleanup of repeat_unmount() spelling.
Harald Hoyer d4ee25
---
Harald Hoyer d4ee25
 src/core/automount.c | 6 +++---
Harald Hoyer d4ee25
 1 file changed, 3 insertions(+), 3 deletions(-)
Harald Hoyer d4ee25
Harald Hoyer d4ee25
diff --git a/src/core/automount.c b/src/core/automount.c
Harald Hoyer d4ee25
index a20d534..6762392 100644
Harald Hoyer d4ee25
--- a/src/core/automount.c
Harald Hoyer d4ee25
+++ b/src/core/automount.c
Harald Hoyer d4ee25
@@ -66,7 +66,7 @@ static void automount_init(Unit *u) {
Harald Hoyer d4ee25
         UNIT(a)->ignore_on_isolate = true;
Harald Hoyer d4ee25
 }
Harald Hoyer d4ee25
 
Harald Hoyer d4ee25
-static void repeat_unmout(const char *path) {
Harald Hoyer d4ee25
+static void repeat_unmount(const char *path) {
Harald Hoyer d4ee25
         assert(path);
Harald Hoyer d4ee25
 
Harald Hoyer d4ee25
         for (;;) {
Harald Hoyer d4ee25
@@ -100,7 +100,7 @@ static void unmount_autofs(Automount *a) {
Harald Hoyer d4ee25
         if (a->where &&
Harald Hoyer d4ee25
             (UNIT(a)->manager->exit_code != MANAGER_RELOAD &&
Harald Hoyer d4ee25
              UNIT(a)->manager->exit_code != MANAGER_REEXECUTE))
Harald Hoyer d4ee25
-                repeat_unmout(a->where);
Harald Hoyer d4ee25
+                repeat_unmount(a->where);
Harald Hoyer d4ee25
 }
Harald Hoyer d4ee25
 
Harald Hoyer d4ee25
 static void automount_done(Unit *u) {
Harald Hoyer d4ee25
@@ -575,7 +575,7 @@ fail:
Harald Hoyer d4ee25
                 close_nointr_nofail(ioctl_fd);
Harald Hoyer d4ee25
 
Harald Hoyer d4ee25
         if (mounted)
Harald Hoyer d4ee25
-                repeat_unmout(a->where);
Harald Hoyer d4ee25
+                repeat_unmount(a->where);
Harald Hoyer d4ee25
 
Harald Hoyer d4ee25
         log_error_unit(UNIT(a)->id,
Harald Hoyer d4ee25
                        "Failed to initialize automounter: %s", strerror(-r));