aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-crypt.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-08 12:23:00 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-08 12:23:00 +0200
commitd98b940ab29a245de84a1c138b866dcc29217601 (patch)
treeb6940506904dbb254e9afbfe3524c6880c553658 /drivers/md/dm-crypt.c
parentcbd6712406a3ea861b49fbfd46e23cbf5f8e073f (diff)
parent1b40a895df6c7d5a80e71f65674060b03d84bbef (diff)
Merge branch 'linus' into x86/irq
Diffstat (limited to 'drivers/md/dm-crypt.c')
-rw-r--r--drivers/md/dm-crypt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c
index 835def11419..ab6a61db63c 100644
--- a/drivers/md/dm-crypt.c
+++ b/drivers/md/dm-crypt.c
@@ -432,6 +432,7 @@ static int crypt_convert(struct crypt_config *cc,
case 0:
atomic_dec(&ctx->pending);
ctx->sector++;
+ cond_resched();
continue;
/* error */