projects/linux·commit cefcade9

Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm

cefcade9 · Linus Torvalds <[email protected]> · 2008-07-02 18:55:17 -07:00

* git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm:
  dm crypt: use cond_resched
Commit
cefcade9e7b2331110fdd709b5871ebcc5f9a40f
Parents
c6b96d19 · c7f1b204

Merge commit. Changes below are compared with the first parent: c6b96d19.

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/md/dm-crypt.cmodified+1−0View file

drivers/md/dm-crypt.c

View file
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c
index 835def1..ab6a61d 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 */