Skip to content

Commit 0a00585

Browse files
YueHaibingsnitm
authored andcommitted
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 <[email protected]> Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
1 parent da0c9ea commit 0a00585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/md/dm-clone-target.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,8 @@ static struct hash_table_bucket *get_hash_table_bucket(struct clone *clone,
591591
*
592592
* NOTE: Must be called with the bucket lock held
593593
*/
594-
struct dm_clone_region_hydration *__hash_find(struct hash_table_bucket *bucket,
595-
unsigned long region_nr)
594+
static struct dm_clone_region_hydration *__hash_find(struct hash_table_bucket *bucket,
595+
unsigned long region_nr)
596596
{
597597
struct dm_clone_region_hydration *hd;
598598

0 commit comments

Comments
 (0)