Merge commit 'v2.6.26-rc9' into sched/devel
[pandora-kernel.git] / drivers / md / dm-crypt.c
index 835def1..ab6a61d 100644 (file)
@@ -432,6 +432,7 @@ static int crypt_convert(struct crypt_config *cc,
                case 0:
                        atomic_dec(&ctx->pending);
                        ctx->sector++;
+                       cond_resched();
                        continue;
 
                /* error */