]> git.proxmox.com Git - mirror_zfs.git/commit
Follow 0/-E convention for module load errors
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 16 Nov 2015 23:00:38 +0000 (15:00 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 17 Nov 2015 00:10:06 +0000 (16:10 -0800)
commit3d8d245fb3f1724488c972658da2aab9e8528210
tree61f1df3da015a556f068e6443a53bf34fe3740d5
parent256fa983f46603df3f26c1508ca3a09f6316f36d
Follow 0/-E convention for module load errors

Because errors during module load are so rare it went unnoticed that
it was possible that a positive errno was returned.  This would result
in the module being loaded, nothing being initialized, and a system
panic shortly thereafter.  This is what was causing the hard failures
in the automated testing.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
TEST
module/zfs/zfs_ioctl.c