Re: [PATCH] btrfs: make function update_share_count static

From: David Sterba
Date: Thu Nov 30 2017 - 10:52:59 EST


On Thu, Nov 30, 2017 at 12:14:47PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The function update_share_count is local to the source and does
> not need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> fs/btrfs/backref.c:219:6: warning: symbol 'update_share_count' was not
> declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>