summaryrefslogtreecommitdiff
path: root/drivers/md/dm-clone-target.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-09-23 09:11:11 +0300
committerMike Snitzer <snitzer@redhat.com>2019-10-08 21:04:54 +0300
commit0a005856d35936e351cc20ff3de04499bd7ffbfd (patch)
treeda071e44d2443e64a827466a7a77ff214904fdf9 /drivers/md/dm-clone-target.c
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff)
downloadlinux-0a005856d35936e351cc20ff3de04499bd7ffbfd.tar.xz
dm clone: Make __hash_find static
drivers/md/dm-clone-target.c:594:34: warning: symbol '__hash_find' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-clone-target.c')
-rw-r--r--drivers/md/dm-clone-target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-clone-target.c b/drivers/md/dm-clone-target.c
index cd6f9e9fc98e..4ca8f1977222 100644
--- a/drivers/md/dm-clone-target.c
+++ b/drivers/md/dm-clone-target.c
@@ -591,8 +591,8 @@ static struct hash_table_bucket *get_hash_table_bucket(struct clone *clone,
*
* NOTE: Must be called with the bucket lock held
*/
-struct dm_clone_region_hydration *__hash_find(struct hash_table_bucket *bucket,
- unsigned long region_nr)
+static struct dm_clone_region_hydration *__hash_find(struct hash_table_bucket *bucket,
+ unsigned long region_nr)
{
struct dm_clone_region_hydration *hd;