From eba3a5206cd7f8df73d6e6dbf2bb0afca677fca8 Mon Sep 17 00:00:00 2001 From: Wang Sheng-Hui Date: Thu, 28 Feb 2013 02:05:56 +0000 Subject: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument' Commit 05dadc0 ("Btrfs: add fiemap's flag check") added validity checks to the fiemap flags and hence invalid flags are now being rejected. Test 276 passes an invalid fiemap flag to btrfs, and so that test fails since this commit was added. 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 Reviewed-by: Eric Sandeen Signed-off-by: Rich Johnston --- 276 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/276 b/276 index c1ce8ace..65da464d 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 -- 2.39.5