HomeFreeBSD

kmem_zalloc(..., KM_SLEEP) will never fail

Description

kmem_zalloc(..., KM_SLEEP) will never fail

By definitition these allocations will never fail. For
consistency with the rest of the code remove this dead error
handling code.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1558

Details

Provenance
shenyan1 <shenyanxxxy@qq.com>Authored on Jun 29 2013, 11:07 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 1 2013, 9:51 PM
Parents
rGab68b6e5db29: Fix zfs_sb_teardown/zfs_resume_fs NULL dereference
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG0a6bef26ec80: kmem_zalloc(..., KM_SLEEP) will never fail (authored by shenyan1 <shenyanxxxy@qq.com>).Jul 1 2013, 9:51 PM