HomeFreeBSD

Fix NULL as mount(2) syscall data parameter

Description

Fix NULL as mount(2) syscall data parameter

Passing NULL for the mount data should not result in EINVAL. It
should be treated as if an empty string were passed and succeed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Closes #3771

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Sep 19 2015, 7:32 PM
Parents
rGf52ebcb3eb16: Discard on zvols should not exceed the length of a block
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG66aad10ce88f: Fix NULL as mount(2) syscall data parameter (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Sep 19 2015, 9:03 PM