From 3aea3c9d548b1788ec0eb88d43a7aa33b8c4fcf1 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 24 Jan 2020 06:11:54 +0100 Subject: [PATCH] entity_namecheck: doc comment: include space as allowed character The helper function valid_char already allows it but the doc comment was out of date. Reviewed-by: Brian Behlendorf Signed-off-by: Christian Schwarz Closes #9879 --- module/zcommon/zfs_namecheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zcommon/zfs_namecheck.c b/module/zcommon/zfs_namecheck.c index b9f704f5f..3076b8d8b 100644 --- a/module/zcommon/zfs_namecheck.c +++ b/module/zcommon/zfs_namecheck.c @@ -171,7 +171,7 @@ dataset_nestcheck(const char *path) * Where each component is made up of alphanumeric characters plus the following * characters: * - * [-_.:%] + * [-_.: %] * * We allow '%' here as we use that character internally to create unique * names for temporary clones (for online recv).