MFC r279914:

Options from auto_master must be appended to options from maps,
not prepended.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2015-05-21 13:34:33 +00:00
parent decca16d96
commit 5d932fec11

View File

@ -232,7 +232,11 @@ handle_request(const struct autofs_daemon_request *adr, char *cmdline_options,
}
options = node_options(node);
options = concat(adr->adr_options, ',', options);
/*
* Append options from auto_master.
*/
options = concat(options, ',', adr->adr_options);
/*
* Prepend options passed via automountd(8) command line.