summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-10 14:29:58 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-10 14:29:58 -0700
commit69ca06c9454169c4a9303e8834adae9080f94859 (patch)
treed713fe8ac3ada06c0989706e237f6e6176396347 /arch/x86/lib
parent9f2d8be4266f8861af806d964ae5db2949b670f3 (diff)
parent32f2e807a3938b24d0831211e6094f9e44b2fc83 (diff)
downloadop-kernel-dev-69ca06c9454169c4a9303e8834adae9080f94859.zip
op-kernel-dev-69ca06c9454169c4a9303e8834adae9080f94859.tar.gz
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block: cfq-iosched: reset oom_cfqq in cfq_set_request() block: fix sg SG_DXFER_TO_FROM_DEV regression block: call blk_scsi_ioctl_init() Fix congestion_wait() sync/async vs read/write confusion
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/usercopy_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/usercopy_32.c b/arch/x86/lib/usercopy_32.c
index 7c8ca91..1f118d4 100644
--- a/arch/x86/lib/usercopy_32.c
+++ b/arch/x86/lib/usercopy_32.c
@@ -751,7 +751,7 @@ survive:
if (retval == -ENOMEM && is_global_init(current)) {
up_read(&current->mm->mmap_sem);
- congestion_wait(WRITE, HZ/50);
+ congestion_wait(BLK_RW_ASYNC, HZ/50);
goto survive;
}
OpenPOWER on IntegriCloud