From patchwork Wed Feb 27 07:15:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Sheng-Hui X-Patchwork-Id: 2192541 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 778803FC8F for ; Wed, 27 Feb 2013 07:15:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752229Ab3B0HPd (ORCPT ); Wed, 27 Feb 2013 02:15:33 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33116 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818Ab3B0HPc (ORCPT ); Wed, 27 Feb 2013 02:15:32 -0500 Received: by mail-pa0-f45.google.com with SMTP id kl14so252590pab.32 for ; Tue, 26 Feb 2013 23:15:32 -0800 (PST) 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== X-Received: by 10.68.243.41 with SMTP id wv9mr1970107pbc.35.1361949331932; Tue, 26 Feb 2013 23:15:31 -0800 (PST) Received: from [9.115.120.108] ([202.108.130.138]) by mx.google.com with ESMTPS id x2sm4363027paw.8.2013.02.26.23.15.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 23:15:31 -0800 (PST) Message-ID: <512DB284.1090806@gmail.com> Date: Wed, 27 Feb 2013 15:15:16 +0800 From: Wang Sheng-Hui User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: xfstests , linux-btrfs@vger.kernel.org, list.btrfs@jan-o-sch.net Subject: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument' Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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 --- 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