diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch b/meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch new file mode 100644 index 0000000000..d69cfe0bd8 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From eb7a760052667c5a35637901de9359c377263804 Mon Sep 17 00:00:00 2001 | ||
2 | From: Colin Walters <walters@verbum.org> | ||
3 | Date: Tue, 24 Feb 2015 10:12:28 -0500 | ||
4 | Subject: [PATCH] Revert "core/mount: add dependencies to dynamically mounted | ||
5 | mounts too" | ||
6 | |||
7 | This reverts commit 06e97888883e2cc12eb6514e80c7f0014295f59b. | ||
8 | |||
9 | This patch was imported from Fedora (http://pkgs.fedoraproject.org/cgit/systemd.git/commit/?h=f22&id=9bbe0e92dc59d5a42258c729b105a7d9901eb35e). | ||
10 | |||
11 | It fixes an issue where mount points not listed in fstab are immediately | ||
12 | unmounted after a call to mount. | ||
13 | |||
14 | Upstream-Status: Inappropriate [fixed upstream] | ||
15 | |||
16 | Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> | ||
17 | --- | ||
18 | src/core/mount.c | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/src/core/mount.c b/src/core/mount.c | ||
22 | index 40037e7..cddb5e2 100644 | ||
23 | --- a/src/core/mount.c | ||
24 | +++ b/src/core/mount.c | ||
25 | @@ -295,7 +295,7 @@ static int mount_add_device_links(Mount *m) { | ||
26 | |||
27 | assert(m); | ||
28 | |||
29 | - p = get_mount_parameters(m); | ||
30 | + p = get_mount_parameters_fragment(m); | ||
31 | if (!p) | ||
32 | return 0; | ||
33 | |||
34 | -- | ||
35 | 1.8.3.1 | ||
36 | |||