From: Hans Reiser <reiser@namesys.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [BK] [PATCH] ReiserFS bugfix for 2.5 (1 of 1)
Date: Mon, 23 Sep 2002 18:15:24 +0400 [thread overview]
Message-ID: <3D8F21FC.6070305@namesys.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: Fix for 2.5 --]
[-- Type: message/rfc822, Size: 2040 bytes --]
From: Oleg Drokin <green@namesys.com>
To: reiser@namesys.com
Subject: Fix for 2.5
Date: Fri, 20 Sep 2002 16:00:47 +0400
Message-ID: <20020920160047.A12840@namesys.com>
Hello!
This changeset is to fix bug in alloc= mount option parser in reiserfs.
It was only tested by me (and it works) since our testers still cannot
get 2.5 kernel to work stably.
You can pull it from bk://thebsh.namesys.com/bk/reiser3-linux-2.5
Diffstat:
bitmap.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Plain text patch:
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.570 -> 1.571
# fs/reiserfs/bitmap.c 1.22 -> 1.23
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/09/20 green@angband.namesys.com 1.571
# Reiserfs: Fix alloc= mount option parser.
# --------------------------------------------
#
diff -Nru a/fs/reiserfs/bitmap.c b/fs/reiserfs/bitmap.c
--- a/fs/reiserfs/bitmap.c Fri Sep 20 15:56:10 2002
+++ b/fs/reiserfs/bitmap.c Fri Sep 20 15:56:10 2002
@@ -395,7 +395,7 @@
REISERFS_SB(s)->s_alloc_options.bits = 0; /* clear default settings */
- for (this_char = strsep (&options, ":"); this_char != NULL; ) {
+ while ( (this_char = strsep (&options, ":")) != NULL ) {
if ((value = strchr (this_char, '=')) != NULL)
*value++ = 0;
reply other threads:[~2002-09-23 14:10 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=3D8F21FC.6070305@namesys.com \
--to=reiser@namesys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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