Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2017 16:10:21 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320499 - head/sys/kern
Message-ID:  <201706301610.v5UGAL0R092334@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706301610.v5UGAL0R092334>