aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs/libzfs_dataset.c
diff options
context:
space:
mode:
authorMarcel Telka <[email protected]>2017-06-22 15:30:49 +0200
committerBrian Behlendorf <[email protected]>2017-07-04 15:27:23 -0700
commit23873bbb5f887785b5589664673d347a77236e03 (patch)
tree08471a73479b7a7ea2c5795600e4dd8724cf2cf0 /lib/libzfs/libzfs_dataset.c
parent27ef66ef19020dcdcda7b6f64a2f92cac9674565 (diff)
OpenZFS 8418 - zfs_prop_get_table() call in zfs_validate_name() is a no-op
Authored by: Marcel Telka <[email protected]> Reviewed by: Vitaliy Gusev <[email protected]> Approved by: Matthew Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Ported-by: Giuseppe Di Natale <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/8418 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/e09ba01 Closes #6305
Diffstat (limited to 'lib/libzfs/libzfs_dataset.c')
-rw-r--r--lib/libzfs/libzfs_dataset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c
index 51c168ad7..a4f65b397 100644
--- a/lib/libzfs/libzfs_dataset.c
+++ b/lib/libzfs/libzfs_dataset.c
@@ -105,7 +105,6 @@ zfs_validate_name(libzfs_handle_t *hdl, const char *path, int type,
namecheck_err_t why;
char what;
- (void) zfs_prop_get_table();
if (entity_namecheck(path, &why, &what) != 0) {
if (hdl != NULL) {
switch (why) {