From 43515ba0cecda2be8244a9f75078ac4a561092d9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 31 Mar 2011 21:40:10 +0200 Subject: mount: also relabel pre-mounted API dirs --- src/mount-setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-54-g00ecf