Module Name: src Committed By: riastradh Date: Sun Apr 16 17:18:28 UTC 2017
Modified Files: src/sys/kern: vnode_if.sh Log Message: Count vnode arguments correctly. Don't count arguments that have WILLRELE/WILLPUT; count arguments that are struct vnode *. No functional change currently because it happens that every released or put vnode argument comes first or after other ones. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/kern/vnode_if.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/vnode_if.sh diff -u src/sys/kern/vnode_if.sh:1.63 src/sys/kern/vnode_if.sh:1.64 --- src/sys/kern/vnode_if.sh:1.63 Tue Apr 11 14:29:32 2017 +++ src/sys/kern/vnode_if.sh Sun Apr 16 17:18:28 2017 @@ -29,7 +29,7 @@ copyright="\ * SUCH DAMAGE. */ " -SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.63 2017/04/11 14:29:32 riastradh Exp $' +SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.64 2017/04/16 17:18:28 riastradh Exp $' # Script to produce VFS front-end sugar. # @@ -370,8 +370,9 @@ function offsets() { word = "RELE"; } printf(" | VDESC_VP%s_WILL%s", vpnum, word); - vpnum++; } + if (argtype[i] == "struct vnode *") + vpnum++; } print ","; # vp offsets