[Midnightbsd-cvs] src [7562] stable/0.8/sys/kern/vnode_if.src: add definitions for vop_get_writecount and vop_add_writecount

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 21 11:32:19 EDT 2016


Revision: 7562
          http://svnweb.midnightbsd.org/src/?rev=7562
Author:   laffer1
Date:     2016-05-21 11:32:19 -0400 (Sat, 21 May 2016)
Log Message:
-----------
add definitions for vop_get_writecount and vop_add_writecount

Modified Paths:
--------------
    stable/0.8/sys/kern/vnode_if.src

Modified: stable/0.8/sys/kern/vnode_if.src
===================================================================
--- stable/0.8/sys/kern/vnode_if.src	2016-05-21 15:31:56 UTC (rev 7561)
+++ stable/0.8/sys/kern/vnode_if.src	2016-05-21 15:32:19 UTC (rev 7562)
@@ -660,6 +660,20 @@
 	IN struct vnode *vp;
 };
 
+%% get_writecount	vp	L L L
+
+vop_get_writecount {
+	IN struct vnode *vp;
+	OUT int *writecount;
+};
+
+%% add_writecount	vp	E E E
+
+vop_add_writecount {
+	IN struct vnode *vp;
+	IN int inc;
+};
+
 # The VOPs below are spares at the end of the table to allow new VOPs to be
 # added in stable branches without breaking the KBI.  New VOPs in HEAD should
 # be added above these spares.  When merging a new VOP to a stable branch,



More information about the Midnightbsd-cvs mailing list