All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfsprogs: Fix for xfstest 252 hang on ext4
@ 2011-05-23 20:34 ` Allison Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Allison Henderson @ 2011-05-23 20:34 UTC (permalink / raw)
  To: xfs-oss, Ext4 Developers List

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] xfsprogs: Fix for xfstest 252 hang on ext4
@ 2011-05-23 20:34 ` Allison Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Allison Henderson @ 2011-05-23 20:34 UTC (permalink / raw)
  To: xfs-oss, Ext4 Developers List

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-23 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 20:34 [PATCH] xfsprogs: Fix for xfstest 252 hang on ext4 Allison Henderson
2011-05-23 20:34 ` Allison Henderson

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.