From patchwork Fri Jun 20 19:51:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 4392231 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E17B6BEEAA for ; Fri, 20 Jun 2014 19:52:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EDFE220268 for ; Fri, 20 Jun 2014 19:52:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F215320265 for ; Fri, 20 Jun 2014 19:52:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754985AbaFTTwL (ORCPT ); Fri, 20 Jun 2014 15:52:11 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:52917 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbaFTTwJ (ORCPT ); Fri, 20 Jun 2014 15:52:09 -0400 Received: by mail-la0-f51.google.com with SMTP id mc6so2640671lab.24 for ; Fri, 20 Jun 2014 12:52:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kPMCRRWab+Qk41iOEj6Olalt9aV1J5jFP+r8qRaN/UY=; b=Y9pzwoZLRSWFtLZm8MUq7JBoY/QXRIFdwJ7a9aIGCvUqtQBuZgqs6r8ApYbJqVJfCb Q6S7+3LzolUhfF9ILJyzLIlSKEd+ch+TCkZHA2msWMZLm/itoGJTAOj3YZ27JU3VoOmX pXveoLaxSDO2UNKHy/T5bHteS5UjRBuk4bMEFK7tc05F1oXmaIbW6bFzZ9bi7Jfvyj0g m6D44XYwT1yZFXUgUQ1NSfF15sZ/ZEGms7kV9oWQoKvWdMGUAjPrdMHJTbEKB3n3Rt5Z IH+0L8ZH2WPWEYEJP+Y1M4JpSlcFidttqoD3Qcot+jI5Owy0ThgYH1o6CjfqVxKrpZw1 UuVw== X-Gm-Message-State: ALoCoQnSh4yXk3nuViLrHl4HVvafJzb1ZGlc2YA6ozPTjMchvHV9PkjQJWg7G8+utPOca9UoXf3B X-Received: by 10.152.87.52 with SMTP id u20mr3622260laz.52.1403293928007; Fri, 20 Jun 2014 12:52:08 -0700 (PDT) Received: from spencer.imf.au.dk ([130.225.20.51]) by mx.google.com with ESMTPSA id ob4sm7210667lbc.30.2014.06.20.12.52.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jun 2014 12:52:07 -0700 (PDT) From: Rasmus Villemoes To: Chris Mason , Josef Bacik , Jiri Kosina Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Rasmus Villemoes Subject: [PATCH] trivial: fs/btrfs/tree-log.c: Fix closing brace followed by if Date: Fri, 20 Jun 2014 21:51:43 +0200 Message-Id: <1403293903-17696-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 1.7.10.4 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Maybe "else if" was meant, but because of the goto out_unlock, it doesn't make a difference. Anyway, I chose the "only whitespace" fix. Signed-off-by: Rasmus Villemoes Reviewed-by: Josef Bacik --- fs/btrfs/tree-log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 9e1f2cd..50af2b9 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -3980,7 +3980,8 @@ again: if (ret < 0) { err = ret; goto out_unlock; - } if (ret) { + } + if (ret) { ins_nr = 0; btrfs_release_path(path); continue;