]> git.hungrycats.org Git - linux/commit
[PATCH] tmpfs blk_congestion_wait fix
authorAndrew Morton <akpm@digeo.com>
Thu, 3 Apr 2003 00:26:13 +0000 (16:26 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 3 Apr 2003 00:26:13 +0000 (16:26 -0800)
commit505f7dd2700a934b8f342f578dc68a1c495646fc
treebae302ccbb176d97bc581b9e523ddaacda3d6543
parent45f59fc70b1c97af7120c5328d7df432e17acf30
[PATCH] tmpfs blk_congestion_wait fix

From: Hugh Dickins <hugh@veritas.com>

The blk_congestion_waits in shmem_getpage are appropriate when the error is
-ENOMEM, but not when the error is -EEXIST.  So add that test in the first
instance, but omit it all in the second instance.
mm/shmem.c