svn commit: r316911 - vendor-sys/illumos/dist/uts/common/fs/zfs

Andriy Gapon avg at FreeBSD.org
Fri Apr 14 18:23:19 UTC 2017


Author: avg
Date: Fri Apr 14 18:23:18 2017
New Revision: 316911
URL: https://svnweb.freebsd.org/changeset/base/316911

Log:
  7816 remove static unused variable in zfs_vfsops.c
  
  illumos/illumos-gate at 2e972bf18f2d3dc8a060f336db39dc8432ee887c
  https://github.com/illumos/illumos-gate/commit/2e972bf18f2d3dc8a060f336db39dc8432ee887c
  
  https://www.illumos.org/issues/7816
    found by gcc6 build unused static variable:
    -static const fs_operation_def_t zfs_vfsops_eio_template[] = {
    -    VFSNAME_FREEVFS,    { .vfs_freevfs =  zfs_freevfs },
    -    NULL,            NULL
    -};
  
  Reviewed by: Matt Ahrens <mahrens at delphix.com>
  Reviewed by: Andy Stormont astormont at racktopsystems.com
  Reviewed by: Pavel Zakharov <pavel.zakharov at delphix.com>
  Approved by: Dan McDonald <danmcd at omniti.com>
  Author: Igor Kozhukhov <igork at argotech.io>

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c	Fri Apr 14 18:22:42 2017	(r316910)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c	Fri Apr 14 18:23:18 2017	(r316911)
@@ -96,11 +96,6 @@ static const fs_operation_def_t zfs_vfso
 	NULL,			NULL
 };
 
-static const fs_operation_def_t zfs_vfsops_eio_template[] = {
-	VFSNAME_FREEVFS,	{ .vfs_freevfs =  zfs_freevfs },
-	NULL,			NULL
-};
-
 /*
  * We need to keep a count of active fs's.
  * This is necessary to prevent our module


More information about the svn-src-vendor mailing list