mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: Peter L Jones <peter@drealm.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel BUG at slab.c:1292
Date: Wed, 2 Oct 2002 21:32:52 +0200	[thread overview]
Message-ID: <20021002193252.GA1883@ppc.vc.cvut.cz> (raw)
In-Reply-To: <200210021935.51996@advent.drealm.org.uk>

On Wed, Oct 02, 2002 at 07:35:51PM +0100, Peter L Jones wrote:
> Hi all,
> 
> I asked on #kernelnewbies what I should do with this and was told to check the 
> mailing list archive at http://marc.theaimsgroup.com/ - which I've done.
> 
> The following was produced during boot.  I _looks_ like it was during a 
> modprobe, but I'm not entirely sure what - it could be that binfmt_misc but I 
> couldn't find any docs in the tree for BUG() tracebacks (and I probably 
> wouldn't have understood the source).
> 
> I'm not subscribed to the list: if anyone wants more info, drop me private 
> mail and I'll see what I can do.

Try this. I just sent it to Linus.
						Petr Vandrovec

diff -urdN linux/fs/fat/inode.c linux/fs/fat/inode.c
--- linux/fs/fat/inode.c	2002-10-02 13:20:19.000000000 +0200
+++ linux/fs/fat/inode.c	2002-10-02 19:54:59.000000000 +0200
@@ -228,8 +228,6 @@
 	save = 0;
 	savep = NULL;
 	while ((this_char = strsep(&options,",")) != NULL) {
-		if (!*this_char)
-			continue;
 		if ((value = strchr(this_char,'=')) != NULL) {
 			save = *value;
 			savep = value;
@@ -351,7 +349,7 @@
 			strncpy(cvf_options,value,100);
 		}
 
-		if (this_char != options) *(this_char-1) = ',';
+		if (options) *(options-1) = ',';
 		if (value) *savep = save;
 		if (ret == 0)
 			break;
diff -urdN linux/fs/vfat/namei.c linux/fs/vfat/namei.c
--- linux/fs/vfat/namei.c	2002-10-02 13:20:27.000000000 +0200
+++ linux/fs/vfat/namei.c	2002-10-02 19:54:28.000000000 +0200
@@ -117,8 +117,6 @@
 	savep = NULL;
 	ret = 1;
 	while ((this_char = strsep(&options,",")) != NULL) {
-		if (!*this_char)
-			continue;
 		if ((value = strchr(this_char,'=')) != NULL) {
 			save = *value;
 			savep = value;
@@ -154,8 +152,8 @@
 			else
 				ret = 0;
 		}
-		if (this_char != options)
-			*(this_char-1) = ',';
+		if (options)
+			*(options-1) = ',';
 		if (value) {
 			*savep = save;
 		}

  reply	other threads:[~2002-10-02 19:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02 18:35 Peter L Jones
2002-10-02 19:32 ` Petr Vandrovec [this message]
2002-10-02 21:52   ` Peter L Jones

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=20021002193252.GA1883@ppc.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter@drealm.org.uk \
    /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

all inboxes | Powered by JetHome®