From: Daniel Phillips <phillips@innominate.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] create_buffers silently fails for size > PAGE_SIZE
Date: Tue, 6 Feb 2001 17:45:58 +0100 [thread overview]
Message-ID: <01020618282317.15914@gimli> (raw)
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/
reply other threads:[~2001-02-06 17:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01020618282317.15914@gimli \
--to=phillips@innominate.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox