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:
Linus Torvalds 2008-07-02 18:55:17 -07:00
Родитель c6b96d195a c7f1b20441
Коммит cefcade9e7
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -432,6 +432,7 @@ static int crypt_convert(struct crypt_config *cc,
case 0:
atomic_dec(&ctx->pending);
ctx->sector++;
cond_resched();
continue;
/* error */