aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2018-08-03 01:37:14 +0000
committerAlexander Motin <mav@FreeBSD.org>2018-08-03 01:37:14 +0000
commit3e5c5ebd6faeb3ee58b63d689625e141cc1fca64 (patch)
tree5aeddd2ef802750deea759e72051cdf5ff665311 /lib
parent006375712cfaae641162c9ce336e88d507b62096 (diff)
downloadsrc-3e5c5ebd6faeb3ee58b63d689625e141cc1fca64.tar.gz
src-3e5c5ebd6faeb3ee58b63d689625e141cc1fca64.zip
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>
Notes
Notes: svn path=/vendor-sys/illumos/dist/; revision=337223
Diffstat (limited to 'lib')
-rw-r--r--lib/libnvpair/nvpair_json.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libnvpair/nvpair_json.c b/lib/libnvpair/nvpair_json.c
index 5a317f5f9477..6aa3e9c01ca3 100644
--- a/lib/libnvpair/nvpair_json.c
+++ b/lib/libnvpair/nvpair_json.c
@@ -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, "}");