summaryrefslogtreecommitdiff
path: root/src/mount-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-31 21:40:10 +0200
committerLennart Poettering <lennart@poettering.net>2011-03-31 21:40:10 +0200
commit43515ba0cecda2be8244a9f75078ac4a561092d9 (patch)
treefa8b835366689058c4ee1d6d68b7f7fdc85c4487 /src/mount-setup.c
parent7d76f312889d54dcfe6fdde6eb055e890e7a615b (diff)
mount: also relabel pre-mounted API dirs
Diffstat (limited to 'src/mount-setup.c')
-rw-r--r--src/mount-setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index 056e4a1c6c..49eab0bfa7 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;