[systemd-commits] src/mount-setup.c
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Mar 31 12:40:23 PDT 2011
src/mount-setup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 43515ba0cecda2be8244a9f75078ac4a561092d9
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 31 21:40:10 2011 +0200
mount: also relabel pre-mounted API dirs
diff --git a/src/mount-setup.c b/src/mount-setup.c
index 056e4a1..49eab0b 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -101,7 +101,7 @@ static int mount_one(const MountPoint *p) {
return r;
if (r > 0)
- return 0;
+ goto finish;
/* The access mode here doesn't really matter too much, since
* the mounted file system will take precedence anyway. */
@@ -122,6 +122,7 @@ static int mount_one(const MountPoint *p) {
return p->fatal ? -errno : 0;
}
+finish:
label_fix(p->where, false);
return 0;
More information about the systemd-commits
mailing list