diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-03 03:55:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-03 03:55:17 +0200 |
commit | cefcade9e7b2331110fdd709b5871ebcc5f9a40f (patch) | |
tree | d70257c00c11ae2c4aa4b045d03d2e73dcd7c1d7 /drivers | |
parent | Merge branch 'for-2.6.26' of git://neil.brown.name/md (diff) | |
parent | dm crypt: use cond_resched (diff) | |
download | linux-cefcade9e7b2331110fdd709b5871ebcc5f9a40f.tar.xz linux-cefcade9e7b2331110fdd709b5871ebcc5f9a40f.zip |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/dm-crypt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 835def11419d..ab6a61db63ce 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 */ |