[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130718175024.GP24343@twin.jikos.cz>
Date: Thu, 18 Jul 2013 19:50:25 +0200
From: David Sterba <dsterba@...e.cz>
To: chandan <chandan@...ux.vnet.ibm.com>
Cc: Chris Mason <chris.mason@...ionio.com>,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs_read_block_groups: Use enums to index
btrfs_space_info->block_groups.
On Tue, Jul 16, 2013 at 03:03:12PM +0530, chandan wrote:
> >From 33e376755b8a928610032a1cef024dcdd980aee3 Mon Sep 17 00:00:00 2001
> From: chandan <chandan@...ux.vnet.ibm.com>
> Date: Tue, 16 Jul 2013 12:28:56 +0530
> Subject: [PATCH] btrfs_read_block_groups: Use enums to index
> btrfs_space_info->block_groups.
>
> The current code uses integer literals to index
> btrfs_space_info->block_groups[] array. Instead use corresponding
> enums from 'enum btrfs_raid_types'.
>
> Signed-off-by: chandan <chandan@...ux.vnet.ibm.com>
Reviewed-by: David Sterba <dsterba@...e.cz>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists