Summary: | Only the last option of "zfs mount -o" is honored | ||
---|---|---|---|
Product: | Base System | Reporter: | Alan Somers <asomers> |
Component: | kern | Assignee: | Alan Somers <asomers> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | avg |
Priority: | --- | Flags: | asomers:
mfc-stable11+
asomers: mfc-stable10+ |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 221985 |
Description
Alan Somers
2017-09-05 18:26:06 UTC
A commit references this bug: Author: asomers Date: Tue Sep 5 19:28:36 UTC 2017 New revision: 323193 URL: https://svnweb.freebsd.org/changeset/base/323193 Log: Honor all options of "zfs mount -o" The existing code in zmount incorrectly parses the comma-delimited option string. The result is that nmount only honors the last option. AFAICT the parsing has been broken ever since ZFS's initial import in change 168404. PR: 222078 Reviewed by: avg MFC after: 3 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D12232 Changes: head/cddl/compat/opensolaris/misc/zmount.c A commit references this bug: Author: asomers Date: Wed Sep 27 15:06:46 UTC 2017 New revision: 324061 URL: https://svnweb.freebsd.org/changeset/base/324061 Log: MFC r323193: Honor all options of "zfs mount -o" The existing code in zmount incorrectly parses the comma-delimited option string. The result is that nmount only honors the last option. AFAICT the parsing has been broken ever since ZFS's initial import in change 168404. PR: 222078 Reviewed by: avg Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D12232 Changes: _U stable/11/ stable/11/cddl/compat/opensolaris/misc/zmount.c A commit references this bug: Author: asomers Date: Tue Nov 28 17:30:26 UTC 2017 New revision: 326327 URL: https://svnweb.freebsd.org/changeset/base/326327 Log: MFC r323193: Honor all options of "zfs mount -o" The existing code in zmount incorrectly parses the comma-delimited option string. The result is that nmount only honors the last option. AFAICT the parsing has been broken ever since ZFS's initial import in change 168404. PR: 222078 Reviewed by: avg Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D12232 Changes: _U stable/10/ stable/10/cddl/compat/opensolaris/misc/zmount.c |