Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 0a742389 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: acomp - Count error stats differently


Move all stat code specific to acomp into the acomp code.

While we're at it, change the stats so that bytes and counts
are always incremented even in case of error.  This allows the
reference counting to be removed as we can now increment the
counters prior to the operation.

After the operation we simply increase the error count if necessary.
This is safe as errors can only occur synchronously (or rather,
the existing code already ignored asynchronous errors which are
only visible to the callback function).

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 42808e5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment