mount: also relabel pre-mounted API dirs
This commit is contained in:
parent
7d76f31288
commit
43515ba0ce
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue