]> git.proxmox.com Git - mirror_zfs.git/commit
Fix NULL as mount(2) syscall data parameter
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 19 Sep 2015 19:32:38 +0000 (12:32 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 19 Sep 2015 21:03:01 +0000 (14:03 -0700)
commit66aad10ce88f2a599365322a79f20d02f3c64393
tree2b2b7a2fd09f1cb5b5ed32e4f6165ed17a6fff00
parentf52ebcb3eb1630694648237ad6d439c226c3dd99
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
module/zfs/zpl_super.c