xfs
[Top] [All Lists]

[PATCH V2] xfstests: remove recursive include in filter.btrfs

To: Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: [PATCH V2] xfstests: remove recursive include in filter.btrfs
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sun, 21 Apr 2013 17:49:43 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>, linux-btrfs <linux-btrfs@xxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <517386CC.8010406@xxxxxxxxxx>
References: <517386CC.8010406@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
Not sure how this happened, but filter.btrfs including
itself leads to immense sadness for any file that includes it.
(I got a segfault when I tried to run 307)

It should be including the common/filter not common/filter.btrfs

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

diff --git a/common/filter.btrfs b/common/filter.btrfs
index b1aa733..3435d8d 100644
--- a/common/filter.btrfs
+++ b/common/filter.btrfs
@@ -1,6 +1,6 @@
 # Filters for btrfs command output
 
-. ./common/filter.btrfs
+. ./filter
 
 # Some, but not all, commands emit "Btrfs <version>"
 _filter_btrfs_version()

<Prev in Thread] Current Thread [Next in Thread>