btrfs: remove duplicated in_range() macro
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Tue, 16 Mar 2021 10:04:01 +0000 (19:04 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:16 +0000 (17:25 +0200)
commitcea628008fc8c6c9c7b53902f6659e040f33c790
treeacf3292d703348ef47190e845e691fe9d81b1d65
parent209ecbb8585bf6fd8d68ae8bafd8a8223fb41a60
btrfs: remove duplicated in_range() macro

The in_range() macro is defined twice in btrfs' source, once in ctree.h
and once in misc.h.

Remove the definition in ctree.h and include misc.h in the files depending
on it.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/file-item.c
fs/btrfs/raid56.c