summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 07:51:18 +0000
committerphk <phk@FreeBSD.org>2002-10-16 07:51:18 +0000
commit04dca80dba70e820a49974d1cb00b356c315aaff (patch)
tree356a601cfcdb4af14144d3044ee9bfcba387991e /sys/fs/devfs/devfs.h
parentbb72fa916d6b7f3e89ab4aa5020a2f938867b964 (diff)
downloadFreeBSD-src-04dca80dba70e820a49974d1cb00b356c315aaff.zip
FreeBSD-src-04dca80dba70e820a49974d1cb00b356c315aaff.tar.gz
A better solution to avoiding variable sized structs in DEVFS.
Diffstat (limited to 'sys/fs/devfs/devfs.h')
-rw-r--r--sys/fs/devfs/devfs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/fs/devfs/devfs.h b/sys/fs/devfs/devfs.h
index 0d34c97..610417c 100644
--- a/sys/fs/devfs/devfs.h
+++ b/sys/fs/devfs/devfs.h
@@ -39,8 +39,6 @@
#ifndef _FS_DEVFS_DEVFS_H_
#define _FS_DEVFS_DEVFS_H_
-#include "opt_devfs.h"
-
#define DEVFS_MAGIC 0xdb0a087a
/*
@@ -174,7 +172,7 @@ struct devfs_mount {
struct devfs_dirent *dm_rootdir;
struct devfs_dirent *dm_basedir;
unsigned dm_generation;
- struct devfs_dirent *dm_dirent[NDEVFSINO];
+ struct devfs_dirent **dm_dirent;
struct devfs_dirent **dm_overflow;
int dm_inode;
struct lock dm_lock;
OpenPOWER on IntegriCloud