Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2018 01:37:15 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r337223 - vendor-sys/illumos/dist/common/nvpair vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/lib/libnvpair
Message-ID:  <201808030137.w731bFvx081304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Aug  3 01:37:14 2018
New Revision: 337223
URL: https://svnweb.freebsd.org/changeset/base/337223

Log:
  9580 Add a hash-table on top of nvlist to speed-up operations
  
  illumos/illumos-gate@2ec7644aab2a726a64681fa66c6db8731b160de1
  
  Reviewed by: Matt Ahrens <matt@delphix.com>
  Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
  Approved by: Robert Mustacchi <rm@joyent.com>
  Author: Serapheim Dimitropoulos <serapheim@delphix.com>

Modified:
  vendor/illumos/dist/lib/libnvpair/nvpair_json.c

Changes in other areas also in this revision:
Modified:
  vendor-sys/illumos/dist/common/nvpair/nvpair.c
  vendor-sys/illumos/dist/uts/common/sys/nvpair.h
  vendor-sys/illumos/dist/uts/common/sys/nvpair_impl.h

Modified: vendor/illumos/dist/lib/libnvpair/nvpair_json.c
==============================================================================
--- vendor/illumos/dist/lib/libnvpair/nvpair_json.c	Fri Aug  3 01:37:00 2018	(r337222)
+++ vendor/illumos/dist/lib/libnvpair/nvpair_json.c	Fri Aug  3 01:37:14 2018	(r337223)
@@ -10,6 +10,7 @@
  */
 /*
  * Copyright (c) 2014, Joyent, Inc.
+ * Copyright (c) 2017 by Delphix. All rights reserved.
  */
 
 #include <stdio.h>
@@ -394,8 +395,10 @@ nvlist_print_json(FILE *fp, nvlist_t *nvl)
 		}
 
 		case DATA_TYPE_UNKNOWN:
+		case DATA_TYPE_DONTCARE:
 			return (-1);
 		}
+
 	}
 
 	FPRINTF(fp, "}");



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