On Wed, Dec 29, 2010 at 11:58:28AM +0200, Dmitry Kasatkin wrote: > Previous commit "removed redundant locking" introduced > a bug in handling backlog. > In certain cases, when async request complete callback will > call complete() on -EINPROGRESS code, it will cause uncompleted requests. > It does not happen in implementation similar to crypto test manager, > but it will happen in implementation similar to dm-crypt. > Backlog needs to be checked before dequeuing next request. > > Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@xxxxxxxxx> Patch applied. Thanks Dmitry. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html