HomeFreeBSD

Remove ASSERT() in l2arc_apply_transforms()

Description

Remove ASSERT() in l2arc_apply_transforms()

The ASSERT was erroneously copied from the next section of code.
The buffer's size should be expanded from "psize" to "asize"
if necessary.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes #7375

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Mar 31 2018, 10:14 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 31 2018, 10:14 PM
Parents
rGa2c2ed1bd4c3: Decryption error handling improvements
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG10adee27ced2: Remove ASSERT() in l2arc_apply_transforms() (authored by Tim Chase <tim@chase2k.com>).Mar 31 2018, 10:14 PM