HomeFreeBSD

Do not copy by field when converting struct oexport_args to struct

Description

Do not copy by field when converting struct oexport_args to struct
export_args on mount update, bzero() is consistent with
vfs_oexport_conv().
Make the code structure more explicit by using switch.
Return EINVAL if export option layout (deduced from size) is unknown.

Based on the submission by: bde
Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on
Parents
rS295264: MFC: r295074
Branches
Unknown
Tags
Unknown