]> err.no Git - systemd/commitdiff
mount-setup: fix selinux label after mounting
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Sep 2010 23:38:07 +0000 (01:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Sep 2010 23:38:07 +0000 (01:38 +0200)
rhbz 629268

src/mount-setup.c

index c1ddbe45f0c116df924e20932b68118b92b15829..d2f05bc5cf2fb56c53a989bb46b4734e06dc973b 100644 (file)
@@ -31,6 +31,7 @@
 #include "log.h"
 #include "macro.h"
 #include "util.h"
+#include "label.h"
 
 typedef struct MountPoint {
         const char *what;
@@ -108,6 +109,8 @@ static int mount_one(const MountPoint *p) {
                 return p->fatal ? -errno : 0;
         }
 
+        label_fix(p->where);
+
         return 0;
 }