diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-04-05 03:46:26 -0800 |
|---|---|---|
| committer | Andy Grover <agrover@acpi3.(none)> | 2002-04-05 03:46:26 -0800 |
| commit | cbba4f5ef5c3298451d51aca1b74ad0040ff9c5a (patch) | |
| tree | a943c18a5a77378180079fc102a026a3cdb2e203 | |
| parent | e28fa96fdfe1adf561815cd73ac55722bf275c39 (diff) | |
[PATCH] loop deadlock fix
This chunk is present in 2.4, missing in 2.5. It
stops the loop thread from waiting on its owm buffers.
| -rw-r--r-- | fs/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 784ae1957aca..8b8f44fd71da 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -995,7 +995,7 @@ static int balance_dirty_state(void) /* First, check for the "real" dirty limit. */ if (dirty > soft_dirty_limit) { - if (dirty > hard_dirty_limit) + if (dirty > hard_dirty_limit && !(current->flags & PF_NOIO)) return 1; return 0; } |
