mount: also relabel pre-mounted API dirs

This commit is contained in:
Lennart Poettering 2011-03-31 21:40:10 +02:00
parent 7d76f31288
commit 43515ba0ce
1 changed files with 2 additions and 1 deletions

View File

@ -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;