summaryrefslogtreecommitdiff
path: root/sys/nnpfs
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2010-05-19 08:31:24 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2010-05-19 08:31:24 +0000
commita0866af4df0a13d49dfc920d45fada2f6db41c84 (patch)
tree0f4a6bb1e7e97da01ae92afe7f0b30a83c6c58f1 /sys/nnpfs
parent77f46605b921b22444cdb100b2a89118ddef8bc8 (diff)
clean up a few things that where left to rot after bob's vfs cache work.
sync a few comments to reality (or remove them), remove the cn_hash member from struct componentname, spacing. ok beck@
Diffstat (limited to 'sys/nnpfs')
-rw-r--r--sys/nnpfs/nnpfs_config.h2
-rw-r--r--sys/nnpfs/nnpfs_locl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/nnpfs/nnpfs_config.h b/sys/nnpfs/nnpfs_config.h
index 68ee3f692c1..a9de59a49cf 100644
--- a/sys/nnpfs/nnpfs_config.h
+++ b/sys/nnpfs/nnpfs_config.h
@@ -953,7 +953,7 @@
/* #undef HAVE_STRUCT_CDEVSW_D_STOP */
/* Define if struct componentname has field cn_hash */
-#define HAVE_STRUCT_COMPONENTNAME_CN_HASH 1
+/* #undef HAVE_STRUCT_COMPONENTNAME_CN_HASH */
/* Define if struct dirent has field d_type. */
#define HAVE_STRUCT_DIRENT_D_TYPE 1
diff --git a/sys/nnpfs/nnpfs_locl.h b/sys/nnpfs/nnpfs_locl.h
index 0306195a217..29f0d0f875b 100644
--- a/sys/nnpfs/nnpfs_locl.h
+++ b/sys/nnpfs/nnpfs_locl.h
@@ -82,7 +82,6 @@ typedef struct nameidata nnpfs_componentname;
#define cn_nameptr ni_ptr
#define cn_namelen ni_namelen
-#define cn_hash ni_hash
#define cn_cred ni_cred
#define cn_nameiop ni_nameiop
#define cn_flags ni_flags