From 108634504c7e309af9be6be17f039c8cff61bbac Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 29 Sep 2014 13:11:33 +1000 Subject: [PATCH] fstest: fix dumping of miscompare buffer When fstests finds a miscompare it tries to dump the corrupted bytes from the buffer, but due to an incorrect comparism actully dumps the correct part of it. Signed-off-by: Christoph Hellwig Reviewed-by: Theodore Ts'o Signed-off-by: Dave Chinner --- src/fstest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fstest.c b/src/fstest.c index 2e92fd8d..f7e2d3eb 100644 --- a/src/fstest.c +++ b/src/fstest.c @@ -73,7 +73,7 @@ static void check_buffer(uchar *buf, int loop, int child, int fnum, int ofs) for (j=0;j