diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2021-03-16 13:04:01 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-04-19 18:25:16 +0300 |
commit | cea628008fc8c6c9c7b53902f6659e040f33c790 (patch) | |
tree | acf3292d703348ef47190e845e691fe9d81b1d65 /fs/btrfs/raid56.c | |
parent | 209ecbb8585bf6fd8d68ae8bafd8a8223fb41a60 (diff) | |
download | linux-cea628008fc8c6c9c7b53902f6659e040f33c790.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/raid56.c')
-rw-r--r-- | fs/btrfs/raid56.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c index 8c31357f08ed..0a2858609bb7 100644 --- a/fs/btrfs/raid56.c +++ b/fs/btrfs/raid56.c @@ -13,6 +13,7 @@ #include <linux/list_sort.h> #include <linux/raid/xor.h> #include <linux/mm.h> +#include "misc.h" #include "ctree.h" #include "disk-io.h" #include "volumes.h" |