Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2017 10:28:01 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r322217 - vendor/illumos/dist/lib/libzfs/common
Message-ID:  <201708081028.v78AS1Eg022322@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Aug  8 10:28:01 2017
New Revision: 322217
URL: https://svnweb.freebsd.org/changeset/base/322217

Log:
  8418 zfs_prop_get_table() call in zfs_validate_name() is a no-op
  
  illumos/illumos-gate@e09ba01dcda5e24964b8632718777b39166d86e4
  https://github.com/illumos/illumos-gate/commit/e09ba01dcda5e24964b8632718777b39166d86e4
  
  https://www.illumos.org/issues/8418
    The following line in zfs_validate_name() is just a no-op and it should be
    removed:
    108    (void) zfs_prop_get_table();
  
  Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com>
  Approved by: Matthew Ahrens <mahrens@delphix.com>
  Author: Marcel Telka <marcel@telka.sk>

Modified:
  vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c

Modified: vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c
==============================================================================
--- vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c	Tue Aug  8 05:19:45 2017	(r322216)
+++ vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c	Tue Aug  8 10:28:01 2017	(r322217)
@@ -105,7 +105,6 @@ zfs_validate_name(libzfs_handle_t *hdl, const char *pa
 	namecheck_err_t why;
 	char what;
 
-	(void) zfs_prop_get_table();
 	if (entity_namecheck(path, &why, &what) != 0) {
 		if (hdl != NULL) {
 			switch (why) {



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