teknoraver / rpms / systemd

Forked from rpms/systemd a month ago
Clone

Blame SOURCES/0008-automount-rename-repeat_unmont-to-repeat_unmount.patch

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