[Midnightbsd-cvs] src [8644] trunk/sys/fs/nullfs/null_vfsops.c: remove the filtering of the acceptable mount oipitons for nullfs

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 25 14:19:57 EDT 2016


Revision: 8644
          http://svnweb.midnightbsd.org/src/?rev=8644
Author:   laffer1
Date:     2016-09-25 14:19:57 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
remove the filtering of the acceptable mount oipitons for nullfs

Modified Paths:
--------------
    trunk/sys/fs/nullfs/null_vfsops.c

Modified: trunk/sys/fs/nullfs/null_vfsops.c
===================================================================
--- trunk/sys/fs/nullfs/null_vfsops.c	2016-09-25 18:19:31 UTC (rev 8643)
+++ trunk/sys/fs/nullfs/null_vfsops.c	2016-09-25 18:19:57 UTC (rev 8644)
@@ -67,15 +67,6 @@
 static vfs_extattrctl_t	nullfs_extattrctl;
 static vfs_reclaim_lowervp_t nullfs_reclaim_lowervp;
 
-/* Mount options that we support. */
-static const char *nullfs_opts[] = {
-	"cache",
-	"export",
-	"from",
-	"target",
-	NULL
-};
-
 /*
  * Mount null layer
  */
@@ -97,8 +88,6 @@
 		return (EPERM);
 	if (mp->mnt_flag & MNT_ROOTFS)
 		return (EOPNOTSUPP);
-	if (vfs_filteropt(mp->mnt_optnew, nullfs_opts))
-		return (EINVAL);
 
 	/*
 	 * Update is a no-op



More information about the Midnightbsd-cvs mailing list