diff options
author | Marcel Telka <[email protected]> | 2017-06-22 15:30:49 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-07-04 15:27:23 -0700 |
commit | 23873bbb5f887785b5589664673d347a77236e03 (patch) | |
tree | 08471a73479b7a7ea2c5795600e4dd8724cf2cf0 | |
parent | 27ef66ef19020dcdcda7b6f64a2f92cac9674565 (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
-rw-r--r-- | lib/libzfs/libzfs_dataset.c | 1 |
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) { |