btrfs: cleanup, stop casting for extent_map->lookup everywhere
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 <jeffm@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com>
Showing
- fs/btrfs/dev-replace.c 1 addition, 1 deletionfs/btrfs/dev-replace.c
- fs/btrfs/extent-tree.c 1 addition, 1 deletionfs/btrfs/extent-tree.c
- fs/btrfs/extent_map.c 1 addition, 1 deletionfs/btrfs/extent_map.c
- fs/btrfs/extent_map.h 9 additions, 1 deletionfs/btrfs/extent_map.h
- fs/btrfs/scrub.c 1 addition, 1 deletionfs/btrfs/scrub.c
- fs/btrfs/volumes.c 12 additions, 12 deletionsfs/btrfs/volumes.c
Loading
Please register or sign in to comment