summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-15 01:38:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-15 01:38:07 +0200
commit5275d3c13d6321ffd749a976aaad69321313fac7 (patch)
tree7b41ca876d317d7616b296d397814a11d9c57bb9
parent333302226926abe653f0396db1d76b1f8c4d0fc7 (diff)
mount-setup: fix selinux label after mounting
rhbz 629268
-rw-r--r--src/mount-setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index c1ddbe45f0..d2f05bc5cf 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -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;
}