Remove the NDEVFSINO and NDEVFSOVERFLOW options which no longer exists in

DEVFS.

Remove the opt_devfs.h file now that it is empty.
This commit is contained in:
Poul-Henning Kamp 2006-07-17 09:07:02 +00:00
parent eb184de351
commit 9c499ad92f
10 changed files with 0 additions and 28 deletions

View File

@ -2625,8 +2625,6 @@ options AAC_DEBUG # Debugging levels:
##options BKTR_ALLOC_PAGES=(217*4+1)
options BROOKTREE_ALLOC_PAGES=(217*4+1)
options MAXFILES=999
options NDEVFSINO=1025
options NDEVFSOVERFLOW=32769
# Yet more undocumented options for linting.
options VGA_DEBUG

View File

@ -621,10 +621,6 @@ ACPICA_PEDANTIC opt_acpi.h
DEV_ISA opt_isa.h
ISAPNP opt_isa.h
# options for DEVFS, see sys/fs/devfs/devfs.h
NDEVFSINO opt_devfs.h
NDEVFSOVERFLOW opt_devfs.h
# various 'device presence' options.
DEV_BPF opt_bpf.h
DEV_MCA opt_mca.h

View File

@ -28,7 +28,6 @@
* $FreeBSD$
*/
#include "opt_devfs.h"
#include "opt_mac.h"
#include <sys/param.h>

View File

@ -62,8 +62,6 @@
* know the convention).
*/
#include "opt_devfs.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>

View File

@ -34,8 +34,6 @@
* $FreeBSD$
*/
#include "opt_devfs.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>

View File

@ -40,7 +40,6 @@
* mkdir: want it ?
*/
#include "opt_devfs.h"
#include "opt_mac.h"
#include <sys/param.h>
@ -648,18 +647,6 @@ devfs_open(struct vop_open_args *ap)
if (dev->si_iosize_max == 0)
dev->si_iosize_max = DFLTPHYS;
if (vn_isdisk(vp, NULL) &&
ap->a_cred != FSCRED && (ap->a_mode & FWRITE)) {
/*
* When running in very secure mode, do not allow
* opens for writing of any disks.
* XXX: should be in geom_dev.c, but we lack the cred there.
*/
error = securelevel_ge(td->td_ucred, 2);
if (error)
return (error);
}
dsw = dev_refthread(dev);
if (dsw == NULL)
return (ENXIO);

View File

@ -50,7 +50,6 @@
__FBSDID("$FreeBSD$");
#include "opt_mac.h"
#include "opt_devfs.h"
#include <sys/param.h>
#include <sys/condvar.h>

View File

@ -50,7 +50,6 @@
__FBSDID("$FreeBSD$");
#include "opt_mac.h"
#include "opt_devfs.h"
#include <sys/param.h>
#include <sys/condvar.h>

View File

@ -50,7 +50,6 @@
__FBSDID("$FreeBSD$");
#include "opt_mac.h"
#include "opt_devfs.h"
#include <sys/param.h>
#include <sys/condvar.h>

View File

@ -42,7 +42,6 @@
__FBSDID("$FreeBSD$");
#include "opt_mac.h"
#include "opt_devfs.h"
#include <sys/param.h>
#include <sys/condvar.h>