Fix pathname filter issue.

If the path to the file being bmap'd has a [0-9] in it,
the output filter matches it and we get golden output
failure. Be more specific on the match.
Merge of master-melb:xfs-cmds:31170a by kenmcd.

  Be more specific when trying to match extent output lines.
This commit is contained in:
Dave Chinner
2008-05-15 16:38:14 +00:00
parent 247f0f7d14
commit 7e47b27f05
+1 -1
View File
@@ -33,7 +33,7 @@ _cleanup()
_filter_blocks()
{
$AWK_PROG '
/[0-9]/ {
/^ +[0-9]/ {
if (!written_size) {
written_size = $6
unwritten1 = ((1048576/512) / 2) - written_size