Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 10:30:18 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193433 - head/sys/fs/devfs
Message-ID:  <200906041030.n54AUIh4084623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906041030.n54AUIh4084623>