]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make function update_share_count static
authorColin Ian King <colin.king@canonical.com>
Thu, 30 Nov 2017 12:14:47 +0000 (12:14 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:14 +0000 (16:08 +0100)
commit2ee3fdb47e4b8e45389f72ecad496a023c57f801
treeeda5319a4d1096ad2dc90d87bc58f6c38e9ab62a
parentf48fe328ed28afbbd617ff6644a67f44dc0674d6
btrfs: make function update_share_count static

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@canonical.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c