From patchwork Tue Feb 15 23:35:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Peters X-Patchwork-Id: 559851 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1FNa04w008605 for ; Tue, 15 Feb 2011 23:36:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754249Ab1BOXfe (ORCPT ); Tue, 15 Feb 2011 18:35:34 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:47349 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106Ab1BOXfe (ORCPT ); Tue, 15 Feb 2011 18:35:34 -0500 Received: by ewy5 with SMTP id 5so190270ewy.19 for ; Tue, 15 Feb 2011 15:35:32 -0800 (PST) Received: by 10.213.33.206 with SMTP id i14mr106034ebd.80.1297812932415; Tue, 15 Feb 2011 15:35:32 -0800 (PST) Received: from free (5571f5e1.ftth.concepts.nl [85.113.245.225]) by mx.google.com with ESMTPS id t5sm4032002eeh.20.2011.02.15.15.35.29 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Feb 2011 15:35:30 -0800 (PST) Date: Wed, 16 Feb 2011 00:35:27 +0100 From: Tim Peters To: Chris Mason Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] btrfs: fixed a braces code style issue Message-ID: <20110215233526.GA6726@free> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 15 Feb 2011 23:36:00 +0000 (UTC) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index fb9bd78..46125c3 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -467,11 +467,10 @@ again: */ total_in = (total_in + PAGE_CACHE_SIZE - 1) & ~(PAGE_CACHE_SIZE - 1); - if (total_compressed >= total_in) { + if (total_compressed >= total_in) will_compress = 0; - } else { + else num_bytes = total_in; - } } if (!will_compress && pages) { /*