svn commit: r246832 - head/sys/kern
Sergey Kandaurov
pluknet at FreeBSD.org
Fri Feb 15 14:22:06 UTC 2013
Author: pluknet
Date: Fri Feb 15 14:22:05 2013
New Revision: 246832
URL: http://svnweb.freebsd.org/changeset/base/246832
Log:
vn_io_faults_cnt:
- use u_long consistently
- use SYSCTL_ULONG to match the type of variable
Reviewed by: kib
MFC after: 1 week
Modified:
head/sys/kern/vfs_vnops.c
Modified: head/sys/kern/vfs_vnops.c
==============================================================================
--- head/sys/kern/vfs_vnops.c Fri Feb 15 14:17:27 2013 (r246831)
+++ head/sys/kern/vfs_vnops.c Fri Feb 15 14:22:05 2013 (r246832)
@@ -872,8 +872,8 @@ static const int io_hold_cnt = 16;
static int vn_io_fault_enable = 1;
SYSCTL_INT(_debug, OID_AUTO, vn_io_fault_enable, CTLFLAG_RW,
&vn_io_fault_enable, 0, "Enable vn_io_fault lock avoidance");
-static unsigned long vn_io_faults_cnt;
-SYSCTL_LONG(_debug, OID_AUTO, vn_io_faults, CTLFLAG_RD,
+static u_long vn_io_faults_cnt;
+SYSCTL_ULONG(_debug, OID_AUTO, vn_io_faults, CTLFLAG_RD,
&vn_io_faults_cnt, 0, "Count of vn_io_fault lock avoidance triggers");
/*
More information about the svn-src-all
mailing list