From: Allison Henderson <achender@linux.vnet.ibm.com>
To: xfs-oss <xfs@oss.sgi.com>,
Ext4 Developers List <linux-ext4@vger.kernel.org>
Subject: [PATCH] xfsprogs: Fix for xfstest 252 hang on ext4
Date: Mon, 23 May 2011 13:34:58 -0700 [thread overview]
Message-ID: <4DDAC4F2.9090909@linux.vnet.ibm.com> (raw)
Xfstests 252 hangs on ext4 due to a loop in xfsprogs that does not exit.
Signed-off-by: Allison Henderson <achender@us.ibm.com>
---
:100644 100644 fa990cc... 81fc92c... M io/fiemap.c
io/fiemap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/io/fiemap.c b/io/fiemap.c
index fa990cc..81fc92c 100644
--- a/io/fiemap.c
+++ b/io/fiemap.c
@@ -246,7 +246,7 @@ fiemap_f(
flg_w, _("FLAGS"));
}
- while (!last && ((cur_extent + 1) != max_extents)) {
+ while (!last && (cur_extent <= max_extents)) {
if (max_extents)
num_extents = min(num_extents,
max_extents - (cur_extent + 1));
--
1.7.1
WARNING: multiple messages have this Message-ID (diff)
From: Allison Henderson <achender@linux.vnet.ibm.com>
To: xfs-oss <xfs@oss.sgi.com>,
Ext4 Developers List <linux-ext4@vger.kernel.org>
Subject: [PATCH] xfsprogs: Fix for xfstest 252 hang on ext4
Date: Mon, 23 May 2011 13:34:58 -0700 [thread overview]
Message-ID: <4DDAC4F2.9090909@linux.vnet.ibm.com> (raw)
Xfstests 252 hangs on ext4 due to a loop in xfsprogs that does not exit.
Signed-off-by: Allison Henderson <achender@us.ibm.com>
---
:100644 100644 fa990cc... 81fc92c... M io/fiemap.c
io/fiemap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/io/fiemap.c b/io/fiemap.c
index fa990cc..81fc92c 100644
--- a/io/fiemap.c
+++ b/io/fiemap.c
@@ -246,7 +246,7 @@ fiemap_f(
flg_w, _("FLAGS"));
}
- while (!last && ((cur_extent + 1) != max_extents)) {
+ while (!last && (cur_extent <= max_extents)) {
if (max_extents)
num_extents = min(num_extents,
max_extents - (cur_extent + 1));
--
1.7.1
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2011-05-23 20:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 20:34 Allison Henderson [this message]
2011-05-23 20:34 ` [PATCH] xfsprogs: Fix for xfstest 252 hang on ext4 Allison Henderson
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=4DDAC4F2.9090909@linux.vnet.ibm.com \
--to=achender@linux.vnet.ibm.com \
--cc=linux-ext4@vger.kernel.org \
--cc=xfs@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.