1
0
Fork 0

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

* git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm:
  dm crypt: use cond_resched
hifive-unleashed-5.1
Linus Torvalds 2008-07-02 18:55:17 -07:00
commit cefcade9e7
1 changed files with 1 additions and 0 deletions

View 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 */