crypto: algif_skcipher - EBUSY on aio should be an error
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 Jul 2020 07:03:27 +0000 (17:03 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:45:26 +0000 (14:45 +1000)
commit2a05b029c1ee045b886ebf9efef9985ca23450de
tree8c77239bf150fe1c4b0533fe70e512524e14c222
parent129a4dba1b1ba9bb36c46209fc6379beb8926312
crypto: algif_skcipher - EBUSY on aio should be an error

I removed the MAY_BACKLOG flag on the aio path a while ago but
the error check still incorrectly interpreted EBUSY as success.
This may cause the submitter to wait for a request that will never
complete.

Fixes: dad419970637 ("crypto: algif_skcipher - Do not set...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_skcipher.c