crypto: algif_skcipher - EBUSY on aio should be an error
[linux-2.6-block.git] / crypto / algif_skcipher.c
index 478f3b8f5bd52dbe5f6780551c9e2c9de68e404c..ee8890ee8f33294d9fa3d277255c5c05e4936f90 100644 (file)
@@ -123,7 +123,7 @@ static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg,
                        crypto_skcipher_decrypt(&areq->cra_u.skcipher_req);
 
                /* AIO operation in progress */
-               if (err == -EINPROGRESS || err == -EBUSY)
+               if (err == -EINPROGRESS)
                        return -EIOCBQUEUED;
 
                sock_put(sk);