Skip to content
Permalink
Browse files

Fix parallel mount's thread dispatching algorithm

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
  • Loading branch information...
kusumi committed Jun 12, 2019
1 parent 5662fd5 commit e0c79444734c949b71830a92d82f09abddd2e6e2
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/libzfs/libzfs_mount.c
@@ -1307,6 +1307,8 @@ mountpoint_cmp(const void *arga, const void *argb)
static boolean_t
libzfs_path_contains(const char *path1, const char *path2)
{
if (!strcmp(path1, path2))
return B_TRUE;
return (strstr(path2, path1) == path2 && path2[strlen(path1)] == '/');
}

0 comments on commit e0c7944

Please sign in to comment.
You can’t perform that action at this time.