btrfs/extent_map.c: quiet sparse noise
PATCH 1/1 btrfs/extent_map.c: quiet sparse noise
Quiet the sparse noise:
warning: symbol '__lookup_extent_mapping' was not declared. Should it be static?
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Chris Mason <[email protected]>
[email protected]
[email protected]
---
fs/btrfs/extent_map.c +1 -1
@@ -282,7 +282,7 @@ static u64 range_end(u64 start, u64 len)return start + len; } -struct extent_map *__lookup_extent_mapping (struct extent_map_tree *tree, +static struct extent_map *__lookup_extent_mapping (struct extent_map_tree *tree,u64 start,u64 len,int strict) {struct extent_map *em;
Quoted 3 lines · H Hartley Sweeten
Quiet the sparse noise:
warning: symbol '
__lookup_extent_mapping' was not declared. Should it be static?
Patch itself is correct, changelog is bad. You're not quieting sparse noise, you're making a declaration static because it doesn't need external visibility.