chiark / gitweb /
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 c1ddbe4..d2f05bc 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;
 }