FreeBSD Bugzilla – Attachment 205857 Details for
Bug 237517
ZFS parallel mounting sometimes misses mounting intermediate filesystems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ZoL fix
zol-libzfs.patch (text/plain), 610 bytes, created by
fullermd
on 2019-07-18 02:36:55 UTC
(
hide
)
Description:
ZoL fix
Filename:
MIME Type:
Creator:
fullermd
Created:
2019-07-18 02:36:55 UTC
Size:
610 bytes
patch
obsolete
>Index: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c >=================================================================== >--- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c (revision 349903) >+++ cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c (working copy) >@@ -1286,7 +1286,8 @@ > static boolean_t > libzfs_path_contains(const char *path1, const char *path2) > { >- return (strstr(path2, path1) == path2 && path2[strlen(path1)] == '/'); >+ return (strcmp(path1, path2) == 0 || strcmp(path1, "/") == 0 || >+ (strstr(path2, path1) == path2 && path2[strlen(path1)] == '/')); > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237517
:
204479
|
204484
|
204504
|
204524
|
204525
|
204788
|
205830
| 205857