From 4b24b7c7e7f803f68317f12ad4e324156220dedb Mon Sep 17 00:00:00 2001 From: riastradh Date: Wed, 26 Oct 2022 23:40:30 +0000 Subject: [PATCH] sys/vnode.h: New home for extern vfs_op_descs. (Maybe this should be in a more kern-private header file -- it's used only by vnode_if.c and vfs_init.c -- but this'll do for now.) --- sys/sys/vnode.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 9547ffc8f62e..e0796d2cf6d0 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -1,4 +1,4 @@ -/* $NetBSD: vnode.h,v 1.303 2022/08/05 05:20:39 thorpej Exp $ */ +/* $NetBSD: vnode.h,v 1.304 2022/10/26 23:40:30 riastradh Exp $ */ /*- * Copyright (c) 2008, 2020 The NetBSD Foundation, Inc. @@ -508,6 +508,8 @@ struct vnodeop_desc { #ifdef _KERNEL +extern const struct vnodeop_desc * const vfs_op_descs[]; + /* * Union filesystem hook for vn_readdir(). */