Frederic Crozat
00834ca02d
- Add no-tmpfs-fsck.patch: don't try to fsck tmpfs mountpoint (bnc#726791). OBS-URL: https://build.opensuse.org/request/show/89555 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=221
26 lines
741 B
Diff
26 lines
741 B
Diff
From cca125c2758b48ba8f1afdc4b5751b104f0bd809 Mon Sep 17 00:00:00 2001
|
|
From: Frederic Crozat <fcrozat@suse.com>
|
|
Date: Thu, 27 Oct 2011 15:36:57 +0200
|
|
Subject: [PATCH] mount: do not try to fsck tmpfs mountpoint with non-null
|
|
passno.
|
|
|
|
---
|
|
src/mount.c | 1 +
|
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/src/mount.c b/src/mount.c
|
|
index ef953f0..5da4047 100644
|
|
--- a/src/mount.c
|
|
+++ b/src/mount.c
|
|
@@ -434,6 +434,7 @@ static int mount_add_device_links(Mount *m) {
|
|
|
|
if (p->passno > 0 &&
|
|
!mount_is_bind(p) &&
|
|
+ !streq(p->fstype,"tmpfs") &&
|
|
UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM &&
|
|
!path_equal(m->where, "/")) {
|
|
char *name;
|
|
--
|
|
1.7.7
|
|
|