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
This commit is contained in:
commit
cefcade9e7
@ -432,6 +432,7 @@ static int crypt_convert(struct crypt_config *cc,
|
|||||||
case 0:
|
case 0:
|
||||||
atomic_dec(&ctx->pending);
|
atomic_dec(&ctx->pending);
|
||||||
ctx->sector++;
|
ctx->sector++;
|
||||||
|
cond_resched();
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* error */
|
/* error */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user