summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-07-22 13:11:02 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-07-22 13:11:02 +0000
commit92b942e0e3def9539e61141ef830ae91694191e0 (patch)
tree1440b4a0d203de30c739216684d9eff0bd7987ea
parent44d7cc0312c1cd44e0b7a07fcf0fdd4e5554e2f4 (diff)
Set the vfs_systcl member of the vsfops struct to eopnotsupp. While we check
for a null pointer now, all other filesystems fill in the complete table. ok deraadt@, tom@
-rw-r--r--sys/tmpfs/tmpfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/tmpfs/tmpfs_vfsops.c b/sys/tmpfs/tmpfs_vfsops.c
index ff49be01dd8..9d67ec19514 100644
--- a/sys/tmpfs/tmpfs_vfsops.c
+++ b/sys/tmpfs/tmpfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmpfs_vfsops.c,v 1.9 2016/07/11 22:36:25 tedu Exp $ */
+/* $OpenBSD: tmpfs_vfsops.c,v 1.10 2016/07/22 13:11:01 kettenis Exp $ */
/* $NetBSD: tmpfs_vfsops.c,v 1.52 2011/09/27 01:10:43 christos Exp $ */
/*
@@ -373,6 +373,6 @@ struct vfsops tmpfs_vfsops = {
tmpfs_fhtovp, /* vfs_fhtovp */
tmpfs_vptofh, /* vfs_vptofh */
tmpfs_init, /* vfs_init */
- NULL, /* vfs_sysctl */
+ (void *)eopnotsupp, /* vfs_sysctl */
(void *)eopnotsupp,
};