Commit fb7a0201 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: lustre: obdclass: Declare lu_site_hash_ops as static

lu_site_hash_ops is used only in this particular file. Thus declare
it as static.
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 61db1bc4
...@@ -916,7 +916,7 @@ static void lu_obj_hop_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) ...@@ -916,7 +916,7 @@ static void lu_obj_hop_put_locked(struct cfs_hash *hs, struct hlist_node *hnode)
LBUG(); /* we should never called it */ LBUG(); /* we should never called it */
} }
struct cfs_hash_ops lu_site_hash_ops = { static struct cfs_hash_ops lu_site_hash_ops = {
.hs_hash = lu_obj_hop_hash, .hs_hash = lu_obj_hop_hash,
.hs_key = lu_obj_hop_key, .hs_key = lu_obj_hop_key,
.hs_keycmp = lu_obj_hop_keycmp, .hs_keycmp = lu_obj_hop_keycmp,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment