diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-07-04 08:31:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-04 08:31:30 -0700 |
| commit | 193ae03649cdb7e0f0952314e3fac2c850b3d86a (patch) | |
| tree | 350c499b0c4c93ecb4fc6f9c8e55dd00d7e95b60 /fs/buffer.c | |
| parent | a2b41d233e7dd5a78f7eac7491f06c5fdce8ae6a (diff) | |
[PATCH] suppress more allocation failure warnings
The `page allocation failure' warning in __alloc_pages() is being a
pain. But I'm persisting with it...
The patch renames PF_RADIX_TREE to PF_NOWARN, and uses it in a few
places where allocations failures are known to happen. These code
paths are well-tested now and suppressing the warning is OK.
Diffstat (limited to 'fs/buffer.c')
| -rw-r--r-- | fs/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 5558b4e7dde9..0d1f9e71f30c 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -965,7 +965,9 @@ try_again: head = NULL; offset = PAGE_SIZE; while ((offset -= size) >= 0) { + current->flags |= PF_NOWARN; bh = alloc_buffer_head(); + current->flags &= ~PF_NOWARN; if (!bh) goto no_grow; |
