mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
Rebase master to b117
This commit is contained in:
+1
-14
@@ -227,24 +227,11 @@ dsl_dir_namelen(dsl_dir_t *dd)
|
||||
return (result);
|
||||
}
|
||||
|
||||
int
|
||||
dsl_dir_is_private(dsl_dir_t *dd)
|
||||
{
|
||||
int rv = FALSE;
|
||||
|
||||
if (dd->dd_parent && dsl_dir_is_private(dd->dd_parent))
|
||||
rv = TRUE;
|
||||
if (dataset_name_hidden(dd->dd_myname))
|
||||
rv = TRUE;
|
||||
return (rv);
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
getcomponent(const char *path, char *component, const char **nextp)
|
||||
{
|
||||
char *p;
|
||||
if (path == NULL)
|
||||
if ((path == NULL) || (path[0] == '\0'))
|
||||
return (ENOENT);
|
||||
/* This would be a good place to reserve some namespace... */
|
||||
p = strpbrk(path, "/@");
|
||||
|
||||
Reference in New Issue
Block a user