]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 6 Apr 2021 13:35:54 +0000 (15:35 +0200)
commita01f305823ecccebf51f243a02ed8aa2018a8920
tree5d47e46f181467486be79b5c0b313488c94d77b6
parent1c256d1564425c2159fadd49ff7cc6b5c4ef990d
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