* [PATCH] create_buffers silently fails for size > PAGE_SIZE
@ 2001-02-06 16:45 Daniel Phillips
0 siblings, 0 replies; only message in thread
From: Daniel Phillips @ 2001-02-06 16:45 UTC (permalink / raw)
To: linux-kernel
This is in the Kernel Janitor category, no critical bugs are caused by
this. I also wonder why we have NR_SIZES = 7.
--- ../2.4.1.clean/fs/buffer.c Mon Jan 15 21:42:32 2001
+++ fs/buffer.c Tue Feb 6 17:41:18 2001
@@ -1296,6 +1296,7 @@
{
struct buffer_head *bh, *head;
long offset;
+ if (size > PAGE_SIZE) BUG();
try_again:
head = NULL;
--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-02-06 17:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-06 16:45 [PATCH] create_buffers silently fails for size > PAGE_SIZE Daniel Phillips
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox