From: Lennart Poettering Date: Thu, 31 Mar 2011 19:40:10 +0000 (+0200) Subject: mount: also relabel pre-mounted API dirs X-Git-Tag: v22~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=43515ba0cecda2be8244a9f75078ac4a561092d9;p=elogind.git mount: also relabel pre-mounted API dirs --- diff --git a/src/mount-setup.c b/src/mount-setup.c index 056e4a1c6..49eab0bfa 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;