aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-08-08 10:28:01 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-08-08 10:28:01 +0000
commit32b3bd238f39fb6da2c996d3058d6ff42952e188 (patch)
tree6df70bd6489af41f39be5227a6280e6148f1f760 /lib
parentecbf7dec14cb3903b208c6d3054469c402aebe8e (diff)
downloadsrc-32b3bd238f39fb6da2c996d3058d6ff42952e188.tar.gz
src-32b3bd238f39fb6da2c996d3058d6ff42952e188.zip
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>
Notes
Notes: svn path=/vendor/illumos/dist/; revision=322217
Diffstat (limited to 'lib')
-rw-r--r--lib/libzfs/common/libzfs_dataset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libzfs/common/libzfs_dataset.c b/lib/libzfs/common/libzfs_dataset.c
index 52552047885e..a45889e7cff6 100644
--- a/lib/libzfs/common/libzfs_dataset.c
+++ b/lib/libzfs/common/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) {