--------------080307080506090100000206
Content-Type: message/rfc822;
name="Fix for 2.5"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Fix for 2.5"
Return-Path: <green@namesys.com>
Delivered-To: reiser@namesys.com
Received: (qmail 9128 invoked from network); 20 Sep 2002 12:00:47 -0000
Received: from angband.namesys.com (postfix@212.16.7.85)
by thebsh.namesys.com with SMTP; 20 Sep 2002 12:00:47 -0000
Received: by angband.namesys.com (Postfix on SuSE Linux 7.3 (i386), from userid 521)
id 7E5E71306C9; Fri, 20 Sep 2002 16:00:47 +0400 (MSD)
Date: Fri, 20 Sep 2002 16:00:47 +0400
From: Oleg Drokin <green@namesys.com>
To: reiser@namesys.com
Subject: Fix for 2.5
Message-ID: <20020920160047.A12840@namesys.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
User-Agent: Mutt/1.3.22.1i
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;
--------------080307080506090100000206--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/