[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1446654698-23577-2-git-send-email-jack@suse.com>
Date: Wed, 4 Nov 2015 17:31:35 +0100
From: Jan Kara <jack@...e.com>
To: fstests@...r.kernel.org
Cc: linux-ext4@...r.kernel.org, Jan Kara <jack@...e.com>
Subject: [PATCH 1/4] _filter_fiemap: Avoid awk interval regexps
Older versions of awk do not accept interval regexps by default. Avoid
them in _filter_fiemap to keep better compatibility since it's pretty
trivial.
Signed-off-by: Jan Kara <jack@...e.com>
---
common/punch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/punch b/common/punch
index e8770ab834a7..be193d67ee56 100644
--- a/common/punch
+++ b/common/punch
@@ -208,7 +208,7 @@ _filter_fiemap()
print $1, $2, $3;
next;
}
- $5 ~ /0x[[:xdigit:]]*8[[:xdigit:]]{2}/ {
+ $5 ~ /0x[[:xdigit:]]*8[[:xdigit:]][[:xdigit:]]/ {
print $1, $2, "unwritten";
next;
}
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists