lkml.org 
[lkml]   [2001]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] create_buffers silently fails for size > PAGE_SIZE
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.024 / U:5.132 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site