staging/lustre: Remove unused function class_handle_hash_back()
No callers left. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f27355ba2f
commit
3a459a79ce
|
@ -86,7 +86,6 @@ struct portals_handle {
|
||||||
void class_handle_hash(struct portals_handle *,
|
void class_handle_hash(struct portals_handle *,
|
||||||
struct portals_handle_ops *ops);
|
struct portals_handle_ops *ops);
|
||||||
void class_handle_unhash(struct portals_handle *);
|
void class_handle_unhash(struct portals_handle *);
|
||||||
void class_handle_hash_back(struct portals_handle *);
|
|
||||||
void *class_handle2object(__u64 cookie);
|
void *class_handle2object(__u64 cookie);
|
||||||
void class_handle_free_cb(struct rcu_head *rcu);
|
void class_handle_free_cb(struct rcu_head *rcu);
|
||||||
int class_handle_init(void);
|
int class_handle_init(void);
|
||||||
|
|
|
@ -134,19 +134,6 @@ void class_handle_unhash(struct portals_handle *h)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(class_handle_unhash);
|
EXPORT_SYMBOL(class_handle_unhash);
|
||||||
|
|
||||||
void class_handle_hash_back(struct portals_handle *h)
|
|
||||||
{
|
|
||||||
struct handle_bucket *bucket;
|
|
||||||
|
|
||||||
bucket = handle_hash + (h->h_cookie & HANDLE_HASH_MASK);
|
|
||||||
|
|
||||||
spin_lock(&bucket->lock);
|
|
||||||
list_add_rcu(&h->h_link, &bucket->head);
|
|
||||||
h->h_in = 1;
|
|
||||||
spin_unlock(&bucket->lock);
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL(class_handle_hash_back);
|
|
||||||
|
|
||||||
void *class_handle2object(__u64 cookie)
|
void *class_handle2object(__u64 cookie)
|
||||||
{
|
{
|
||||||
struct handle_bucket *bucket;
|
struct handle_bucket *bucket;
|
||||||
|
|
Loading…
Reference in New Issue