Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 762004 Details for
Bug 831014
net-fs/autofs-5.1.8 has trouble mounting /net shares
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
autofs-revert-nonstrict-offset-mount
autofs-debug.patch (text/plain), 881 bytes, created by
Yixun Lan
on 2022-01-13 03:33:10 UTC
(
hide
)
Description:
autofs-revert-nonstrict-offset-mount
Filename:
MIME Type:
Creator:
Yixun Lan
Created:
2022-01-13 03:33:10 UTC
Size:
881 bytes
patch
obsolete
>diff --git a/lib/mounts.c b/lib/mounts.c >index 1e54a33..ec749a8 100644 >--- a/lib/mounts.c >+++ b/lib/mounts.c >@@ -1616,7 +1616,7 @@ static int tree_mapent_traverse_subtree(struct tree_node *n, tree_work_fn_t work > { > struct traverse_subtree_context *ctxt = ptr; > struct mapent *oe = MAPENT(n); >- int ret = -1; >+ int ret = 1; > > if (n->left) { > ret = tree_mapent_traverse_subtree(n->left, work, ctxt); >diff --git a/modules/parse_sun.c b/modules/parse_sun.c >index d9ac0c9..4ddf027 100644 >--- a/modules/parse_sun.c >+++ b/modules/parse_sun.c >@@ -1197,7 +1197,7 @@ static int mount_subtree(struct autofs_point *ap, struct mapent_cache *mc, > * offsets to be mounted. > */ > rv = sun_mount(ap, name, name, namelen, loc, loclen, options, ctxt); >- if (rv <= 0) { >+ if (rv == 0) { > ret = tree_mapent_mount_offsets(me, 1); > if (!ret) { > tree_mapent_cleanup_offsets(me);
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 831014
: 762004