From patchwork Wed Feb 13 20:59:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Philipp X-Patchwork-Id: 2139461 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id D634DDFE75 for ; Wed, 13 Feb 2013 20:59:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964811Ab3BMU7p (ORCPT ); Wed, 13 Feb 2013 15:59:45 -0500 Received: from mail-ee0-f44.google.com ([74.125.83.44]:34835 "EHLO mail-ee0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934131Ab3BMU7o (ORCPT ); Wed, 13 Feb 2013 15:59:44 -0500 Received: by mail-ee0-f44.google.com with SMTP id l10so894088eei.3 for ; Wed, 13 Feb 2013 12:59:43 -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:in-reply-to :references:in-reply-to:references; bh=pY9lqK8pIujqvjwgdZxJEcn1N9V8pZ76H3lXsMiwJP8=; b=tw2Y6ZIn+9BugRE1SZbepYDJhAEvfZ1BqwFujhcml64ZyxN6gS2nAcSScryOvl0CaN lLkfLmYbU4d+sNAbNwwOXz9Hp+Wb5oZvdS/Z849Ty25fVO9uN2JyVIbvmGMv49CMn7N2 E1X33YVE88Z8vzQGAdMv3O/0kTIHCvlxa9WsZTEBZ80g6UPNdUSwpBZ9bRxd+LaJxwmz TzBf/8Iwjl9zqmy6b4KMgrsnT+qnGrTlpT4nBaDZ8bqVirJoBCLg+c60H/PumwRf9+Hd QMJJP7yPlzyK4ftdC7IHUQOfj1yA+xnu5lFEm/PFtEhYNbnM1g1V4/+GX5Lteawd1GQO Ij8g== X-Received: by 10.14.183.198 with SMTP id q46mr8312664eem.1.1360789183135; Wed, 13 Feb 2013 12:59:43 -0800 (PST) Received: from thor.albion (77.116.38.90.wireless.dyn.drei.com. [77.116.38.90]) by mx.google.com with ESMTPS id q42sm65967235eem.14.2013.02.13.12.59.41 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 12:59:42 -0800 (PST) From: Andreas Philipp To: linux-btrfs@vger.kernel.org Cc: Andreas Philipp , Chris Mason Subject: [PATCH 1/2] Minor format cleanup. Date: Wed, 13 Feb 2013 21:59:23 +0100 Message-Id: X-Mailer: git-send-email 1.7.12.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Clean up the format of the definitions of BTRFS_BLOCK_GROUP_RAID5 and BTRFS_BLOCK_GROUP_RAID6. Signed-off-by: Andreas Philipp --- fs/btrfs/ctree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index e3a4fd7..ea688aa 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -954,8 +954,8 @@ struct btrfs_dev_replace_item { #define BTRFS_BLOCK_GROUP_RAID1 (1ULL << 4) #define BTRFS_BLOCK_GROUP_DUP (1ULL << 5) #define BTRFS_BLOCK_GROUP_RAID10 (1ULL << 6) -#define BTRFS_BLOCK_GROUP_RAID5 (1 << 7) -#define BTRFS_BLOCK_GROUP_RAID6 (1 << 8) +#define BTRFS_BLOCK_GROUP_RAID5 (1ULL << 7) +#define BTRFS_BLOCK_GROUP_RAID6 (1ULL << 8) #define BTRFS_BLOCK_GROUP_RESERVED BTRFS_AVAIL_ALLOC_BIT_SINGLE #define BTRFS_NR_RAID_TYPES 7