From patchwork Sat Nov 20 12:03:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mariusz Kozlowski X-Patchwork-Id: 344211 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 oAKCRaku022073 for ; Sat, 20 Nov 2010 12:27:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752567Ab0KTM1Y (ORCPT ); Sat, 20 Nov 2010 07:27:24 -0500 Received: from unix.wroclaw.pl ([94.23.28.62]:41387 "EHLO unix.wroclaw.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752554Ab0KTM1Y (ORCPT ); Sat, 20 Nov 2010 07:27:24 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sat, 20 Nov 2010 12:27:38 +0000 (UTC) X-Greylist: delayed 1444 seconds by postgrey-1.27 at vger.kernel.org; Sat, 20 Nov 2010 07:27:24 EST Received: from dynamic-87-105-214-15.ssp.dialog.net.pl ([87.105.214.15]:36467 helo=localhost.localdomain) by unix.wroclaw.pl with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PJmA3-0001IS-Gm; Sat, 20 Nov 2010 13:03:19 +0100 From: Mariusz Kozlowski To: Chris Mason Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Mariusz Kozlowski Subject: [PATCH] btrfs: make 1-bit signed fileds unsigned Date: Sat, 20 Nov 2010 13:03:07 +0100 Message-Id: <1290254587-12185-1-git-send-email-mk@lab.zgora.pl> X-Mailer: git-send-email 1.7.0.4 X-SA-Report: SpamAssassin 3.2.5 (2008-06-10) on Spam=No score=-1.4 bayes=0.5 Spam Tests: * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 8db9234..af52f6d 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -808,9 +808,9 @@ struct btrfs_block_group_cache { int extents_thresh; int free_extents; int total_bitmaps; - int ro:1; - int dirty:1; - int iref:1; + unsigned int ro:1; + unsigned int dirty:1; + unsigned int iref:1; int disk_cache_state;