Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys sys/vnode.h: New home for extern vfs_op_descs.



details:   https://anonhg.NetBSD.org/src/rev/3683125eb6d8
branches:  trunk
changeset: 372081:3683125eb6d8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Oct 26 23:40:30 2022 +0000

description:
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.)

diffstat:

 sys/sys/vnode.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f69ddb4a62be -r 3683125eb6d8 sys/sys/vnode.h
--- a/sys/sys/vnode.h   Wed Oct 26 23:40:20 2022 +0000
+++ b/sys/sys/vnode.h   Wed Oct 26 23:40:30 2022 +0000
@@ -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 @@
 
 #ifdef _KERNEL
 
+extern const struct vnodeop_desc * const vfs_op_descs[];
+
 /*
  * Union filesystem hook for vn_readdir().
  */



Home | Main Index | Thread Index | Old Index