Re: [PATCH 7/7] btrfs: cleanup, stop casting for extent_map->lookup everywhere

2015-06-17 Thread Filipe David Manana
On Mon, Jun 15, 2015 at 2:41 PM, wrote: > From: Jeff Mahoney > > Overloading extent_map->bdev to struct map_lookup * might have started out > as a means to an end, but it's a pattern that's used all over the place > now. Let's get rid of the casting and just add a union instead. > > Signed-off-b

[PATCH 7/7] btrfs: cleanup, stop casting for extent_map->lookup everywhere

2015-06-15 Thread jeffm
From: Jeff Mahoney Overloading extent_map->bdev to struct map_lookup * might have started out as a means to an end, but it's a pattern that's used all over the place now. Let's get rid of the casting and just add a union instead. Signed-off-by: Jeff Mahoney --- fs/btrfs/dev-replace.c | 2 +-