svn commit: r320499 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Fri Jun 30 16:10:22 UTC 2017


Author: kib
Date: Fri Jun 30 16:10:21 2017
New Revision: 320499
URL: https://svnweb.freebsd.org/changeset/base/320499

Log:
  Define ino64_trunc_error under same conditions as the code which uses
  the variable.
  
  Noted by:	bde
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/kern/vfs_syscalls.c

Modified: head/sys/kern/vfs_syscalls.c
==============================================================================
--- head/sys/kern/vfs_syscalls.c	Fri Jun 30 15:49:36 2017	(r320498)
+++ head/sys/kern/vfs_syscalls.c	Fri Jun 30 16:10:21 2017	(r320499)
@@ -2106,7 +2106,7 @@ cvtstat(struct stat *st, struct ostat *ost)
 }
 #endif /* COMPAT_43 */
 
-#if defined(COMPAT_FREEBSD11)
+#if defined(COMPAT_43) || defined(COMPAT_FREEBSD11)
 int ino64_trunc_error;
 SYSCTL_INT(_vfs, OID_AUTO, ino64_trunc_error, CTLFLAG_RW,
     &ino64_trunc_error, 0,


More information about the svn-src-head mailing list