summaryrefslogtreecommitdiff
path: root/src/mount-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-25 01:47:31 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-25 01:47:31 +0100
commitc904f64d84db8c4eebedf210ba10893f19ba05ed (patch)
tree4c3d73acb9c6aa32d073107b8dd262a8c48a4334 /src/mount-setup.c
parent8e20e31a65ec9e637abf3821087946e9160001ac (diff)
label: udev might be making changes in /dev while we iterate through it
Also, there are most likely dead symlinks in there, so let's ignore ENOENT when we relabel. https://bugzilla.redhat.com/show_bug.cgi?id=680169
Diffstat (limited to 'src/mount-setup.c')
-rw-r--r--src/mount-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index 64fb4765f6..5cbaee6be7 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -121,7 +121,7 @@ static int mount_one(const MountPoint *p) {
return p->fatal ? -errno : 0;
}
- label_fix(p->where);
+ label_fix(p->where, false);
return 0;
}
@@ -216,7 +216,7 @@ static int nftw_cb(
if (ftwbuf->level == 0)
return 0;
- label_fix(fpath);
+ label_fix(fpath, true);
return 0;
};