xfs
[Top] [All Lists]

[PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument'

To: xfstests <xfs@xxxxxxxxxxx>, linux-btrfs@xxxxxxxxxxxxxxx, list.btrfs@xxxxxxxxxxxxx
Subject: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument'
From: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
Date: Wed, 27 Feb 2013 15:15:16 +0800
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=1s26BaA00RC8XBBJeEnUnUTxYRNt6RMjQJMatGg3a8s=; b=bE5LGPmCurWgNxfYhVDfmO5SWRSxzHav3KQDHUHJcWca+/uz24rlx1WPsJKI8h0xVb qpHn3T3yGCU/XDNFya1etvVH7PuuxvZbhy1mYJ1F656cVJzE9+a2Jx9UnCSnEME3LJpG BjMgwuInJd2aZPi7Dv7fCFfCHgqGenyPpwn0FJk4ONEk0crNRDn8EFfnz67Sf+FDh/kc 0um7HnNX4ZqBSqKbIVZsZXlyTVfTWGGDUZRBoknwdUUt4BsVYlJHtdUyVvmvD01sSkLS utcYcmsjOa/FOR8UIe9JV2uSj8hlndlAsJvxJKmUNe80ZKzVEd/+CQm5q53asewxlBlD 7WrQ==
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0
Btrfs doesn't support FIEMAP_FLAG_XATTR, which is enabled by
-x option of filefrag, and will fail with
        'FIBMAP: Invalid argument'
for 'filefrag -vx'. 'filefrag -vx' fails on btrfs with
    'FIEMAP failed with unsupported flags 2'
Remove the '-x' option.

Signed-off-by: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
---
 276 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/276 b/276
index 082f943..f2b17c9 100755
--- a/276
+++ b/276
@@ -75,7 +75,7 @@ _filter_extents()

 _check_file_extents()
 {
-       cmd="filefrag -vx $1"
+       cmd="filefrag -v $1"
        echo "# $cmd" >> $seq.full
        out=`$cmd | _filter_extents`
        if [ -z "$out" ]; then
--
1.7.10.4

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