Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 831014
Collapse All | Expand All

(-)a/lib/mounts.c (-1 / +1 lines)
Lines 1616-1622 static int tree_mapent_traverse_subtree(struct tree_node *n, tree_work_fn_t work Link Here
1616
{
1616
{
1617
	struct traverse_subtree_context *ctxt = ptr;
1617
	struct traverse_subtree_context *ctxt = ptr;
1618
	struct mapent *oe = MAPENT(n);
1618
	struct mapent *oe = MAPENT(n);
1619
	int ret = -1;
1619
	int ret = 1;
1620
1620
1621
	if (n->left) {
1621
	if (n->left) {
1622
		ret = tree_mapent_traverse_subtree(n->left, work, ctxt);
1622
		ret = tree_mapent_traverse_subtree(n->left, work, ctxt);
(-)a/modules/parse_sun.c (-1 / +1 lines)
Lines 1197-1203 static int mount_subtree(struct autofs_point *ap, struct mapent_cache *mc, Link Here
1197
		 * offsets to be mounted.
1197
		 * offsets to be mounted.
1198
		 */
1198
		 */
1199
		rv = sun_mount(ap, name, name, namelen, loc, loclen, options, ctxt);
1199
		rv = sun_mount(ap, name, name, namelen, loc, loclen, options, ctxt);
1200
		if (rv <= 0) {
1200
		if (rv == 0) {
1201
			ret = tree_mapent_mount_offsets(me, 1);
1201
			ret = tree_mapent_mount_offsets(me, 1);
1202
			if (!ret) {
1202
			if (!ret) {
1203
				tree_mapent_cleanup_offsets(me);
1203
				tree_mapent_cleanup_offsets(me);

Return to bug 831014