[PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument'
Wang Sheng-Hui
shhuiw at gmail.com
Wed Feb 27 01:15:16 CST 2013
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 at gmail.com>
---
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
More information about the xfs
mailing list