]> git.proxmox.com Git - mirror_zfs.git/commit
Remove ASSERT() in l2arc_apply_transforms()
authorTim Chase <tim@chase2k.com>
Sat, 31 Mar 2018 22:14:21 +0000 (17:14 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 31 Mar 2018 22:14:21 +0000 (15:14 -0700)
commit10adee27ced279c381816e1321226fce5834340c
treeec35342a616c1d7711872ff21f25162566d2ca90
parenta2c2ed1bd4c3dc6d52b6058b9c74245cad2ae331
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
module/zfs/arc.c