svn commit: r193433 - head/sys/fs/devfs

Robert Watson rwatson at FreeBSD.org
Thu Jun 4 10:30:19 UTC 2009


Author: rwatson
Date: Thu Jun  4 10:30:18 2009
New Revision: 193433
URL: http://svn.freebsd.org/changeset/base/193433

Log:
  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

Modified:
  head/sys/fs/devfs/devfs_vfsops.c

Modified: head/sys/fs/devfs/devfs_vfsops.c
==============================================================================
--- head/sys/fs/devfs/devfs_vfsops.c	Thu Jun  4 08:13:51 2009	(r193432)
+++ head/sys/fs/devfs/devfs_vfsops.c	Thu Jun  4 10:30:18 2009	(r193433)
@@ -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>


More information about the svn-src-head mailing list