Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2016 08:57:35 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r308087 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201610290857.u9T8vZhY001746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sat Oct 29 08:57:35 2016
New Revision: 308087
URL: https://svnweb.freebsd.org/changeset/base/308087

Log:
  MFC r306456: Add #ifdef _KERNEL around send_holes_without_birth_time sysctl.

Modified:
  stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c
==============================================================================
--- stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c	Sat Oct 29 08:56:43 2016	(r308086)
+++ stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c	Sat Oct 29 08:57:35 2016	(r308087)
@@ -42,9 +42,11 @@
 int32_t zfs_pd_bytes_max = 50 * 1024 * 1024;	/* 50MB */
 boolean_t send_holes_without_birth_time = B_TRUE;
 
+#ifdef _KERNEL
 SYSCTL_DECL(_vfs_zfs);
 SYSCTL_UINT(_vfs_zfs, OID_AUTO, send_holes_without_birth_time, CTLFLAG_RWTUN,
     &send_holes_without_birth_time, 0, "Send holes without birth time");
+#endif
 
 typedef struct prefetch_data {
 	kmutex_t pd_mtx;



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