diff options
| author | 2020-01-20 23:21:55 +0000 | |
|---|---|---|
| committer | 2020-01-20 23:21:55 +0000 | |
| commit | 2d6b9e38f30a31b6aa3a85df5a94059bc694a80e (patch) | |
| tree | bf66fc57928e28f67edf3feb1574130fd0fde94d /sys/nfs/nfs_node.c | |
| parent | remove esp at pcmcia attachment. it doesn't even compile. (diff) | |
| download | wireguard-openbsd-2d6b9e38f30a31b6aa3a85df5a94059bc694a80e.tar.xz wireguard-openbsd-2d6b9e38f30a31b6aa3a85df5a94059bc694a80e.zip | |
struct vops is not modified during runtime so use const which moves each
into read-only data segment.
OK deraadt@ tedu@
Diffstat (limited to 'sys/nfs/nfs_node.c')
| -rw-r--r-- | sys/nfs/nfs_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c index 155426e3666..81b900e83d2 100644 --- a/sys/nfs/nfs_node.c +++ b/sys/nfs/nfs_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_node.c,v 1.70 2018/05/27 06:02:15 visa Exp $ */ +/* $OpenBSD: nfs_node.c,v 1.71 2020/01/20 23:21:56 claudio Exp $ */ /* $NetBSD: nfs_node.c,v 1.16 1996/02/18 11:53:42 fvdl Exp $ */ /* @@ -59,7 +59,7 @@ struct pool nfs_node_pool; extern int prtactive; /* XXX */ -extern struct vops nfs_vops; +extern const struct vops nfs_vops; /* filehandle to node lookup. */ static __inline int |
