HomeFreeBSD

Fixed typo in spl_slab_alloc()

Description

Fixed typo in spl_slab_alloc()

The typo did not have any effect (apart from a negligible performance
impact) because skc->skc_flags * KMC_OFFSLAB is always non-null when
at least one bit in skc->skc_flags is set.

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

Details

Provenance
Gunnar Beutner <gunnar@beutner.name>Authored on Oct 11 2011, 5:03 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 11 2011, 5:03 PM
Parents
rG64c075c3f438: Properly destroy work items in spl_kmem_cache_destroy()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG8d177c181fb2: Fixed typo in spl_slab_alloc() (authored by Gunnar Beutner <gunnar@beutner.name>).Oct 11 2011, 5:03 PM