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:
Коммит
cefcade9e7
|
@ -432,6 +432,7 @@ static int crypt_convert(struct crypt_config *cc,
|
|||
case 0:
|
||||
atomic_dec(&ctx->pending);
|
||||
ctx->sector++;
|
||||
cond_resched();
|
||||
continue;
|
||||
|
||||
/* error */
|
||||
|
|
Загрузка…
Ссылка в новой задаче