Quiet the sparse noise: warning: symbol ''__lookup_extent_mapping'' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Chris Mason <chris.mason@oracle.com> linux-btrfs@vger.kernel.org linux-kernel@vger.kernel.org --- diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c index 7c97b33..48004fe 100644 --- a/fs/btrfs/extent_map.c +++ b/fs/btrfs/extent_map.c @@ -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; -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Valdis.Kletnieks@vt.edu
2011-Sep-23 18:58 UTC
Re: [PATCH] btrfs/extent_map.c: quiet sparse noise
On Thu, 22 Sep 2011 18:45:56 PDT, H Hartley Sweeten said:> 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.