]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb27de39aa2a1779fde1d88ac0518f3359d71333
treeacf3292d703348ef47190e845e691fe9d81b1d65
parentd95c679be5ce357dfc7986e00c0fddc564bfd777
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