From patchwork Sun Jan 6 14:30:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bo liu X-Patchwork-Id: 1937701 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 8F6673FED4 for ; Sun, 6 Jan 2013 14:33:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756022Ab3AFOc6 (ORCPT ); Sun, 6 Jan 2013 09:32:58 -0500 Received: from mail-da0-f42.google.com ([209.85.210.42]:61770 "EHLO mail-da0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755996Ab3AFOc5 (ORCPT ); Sun, 6 Jan 2013 09:32:57 -0500 Received: by mail-da0-f42.google.com with SMTP id z17so8258871dal.15 for ; Sun, 06 Jan 2013 06:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=guhVtzY/jUZmZZnPP+86DPmnFki70pzK+8GzHw4gt1k=; b=WDOZFf4t+vVqn5ilNueN6qKoWfdpzx+aIBV62QjPjSWOZ/Az4vpx3uS/VIq705h3Kz j8kngqQpQbLYerElbrwxr/opCfAh3II7sjRxn/Y1GuqgM2flUZsjTtaOrYjo2RNxE1W2 vdRPEXTMnU+eyG6SC6juNIM9o+66xYJ0tkU3Br/IhB8ERlqqj6b0VyPI1siYrgM0N4eC UJewx+OyT5rvZbzZ/j5WFVu3iKUkhwsQx8P5oYCuU+MEzzqRG7hYTmMmOhO9kx2r4mWe 7CKlz3tkWTS3FqvLEhcmFu8PmPUYDn03+Jtsjkj+VJ9yg1j+bqtRKVwFo9bLu4EEwNPb E5aw== X-Received: by 10.68.231.10 with SMTP id tc10mr176592687pbc.81.1357482777023; Sun, 06 Jan 2013 06:32:57 -0800 (PST) Received: from liubo.localdomain ([117.22.57.224]) by mx.google.com with ESMTPS id sk1sm35884267pbc.0.2013.01.06.06.32.53 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Jan 2013 06:32:56 -0800 (PST) From: Liu Bo To: xfs@oss.sgi.com Cc: linux-btrfs@vger.kernel.org Subject: [PATCH] xfstests: fix 284 ENOENT error Date: Sun, 6 Jan 2013 22:30:38 +0800 Message-Id: <1357482638-27129-1-git-send-email-liub.liubo@gmail.com> X-Mailer: git-send-email 1.7.7.6 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 284 misses a 'mkdir' operation. Signed-off-by: Liu Bo Tested-by: David Sterba Reviewed-by: Ben Myers --- 284 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/284 b/284 index c00e6f1..7f4a630 100644 --- a/284 +++ b/284 @@ -44,6 +44,7 @@ _create_file() if [ $1 -ne 2 ]; then tmpfile="$SCRATCH_MNT/tmp_file" else + mkdir -p $SCRATCH_MNT/tmp_dir tmpfile="$SCRATCH_MNT/tmp_dir/tmp_file" fi