summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs_vfsops.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-04 10:30:18 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-04 10:30:18 +0000
commit81b13ff50e15b0140556ae4fb10bbedb95415677 (patch)
tree1a3599ed2ba60f9eb3f2b5b033983811f5901d07 /sys/fs/devfs/devfs_vfsops.c
parentad8e2a2c53409ba5af5c25f511693706568c5fef (diff)
downloadFreeBSD-src-81b13ff50e15b0140556ae4fb10bbedb95415677.zip
FreeBSD-src-81b13ff50e15b0140556ae4fb10bbedb95415677.tar.gz
Re-add opt_mac.h include, which is required in order for MNT_MULTILABEL
to be set properly on devfs. Otherwise, it isn't possible to set labels on /dev nodes. Reported by: Sergio Rodriguez <sergiorr at yahoo.com> MFC after: 3 days
Diffstat (limited to 'sys/fs/devfs/devfs_vfsops.c')
-rw-r--r--sys/fs/devfs/devfs_vfsops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c
index ff86e36..d88f49c 100644
--- a/sys/fs/devfs/devfs_vfsops.c
+++ b/sys/fs/devfs/devfs_vfsops.c
@@ -34,6 +34,8 @@
* $FreeBSD$
*/
+#include "opt_mac.h" /* To set MNT_MULTILABEL. */
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
OpenPOWER on IntegriCloud