RDS: Export symbols from core RDS
Now that rdma and tcp transports will be modularized, we need to export a number of functions so they can call them. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
70041088e3
commit
616b757ae1
@@ -79,6 +79,7 @@ void rds_info_register_func(int optname, rds_info_func func)
|
||||
rds_info_funcs[offset] = func;
|
||||
spin_unlock(&rds_info_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rds_info_register_func);
|
||||
|
||||
void rds_info_deregister_func(int optname, rds_info_func func)
|
||||
{
|
||||
@@ -91,6 +92,7 @@ void rds_info_deregister_func(int optname, rds_info_func func)
|
||||
rds_info_funcs[offset] = NULL;
|
||||
spin_unlock(&rds_info_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rds_info_deregister_func);
|
||||
|
||||
/*
|
||||
* Typically we hold an atomic kmap across multiple rds_info_copy() calls
|
||||
@@ -137,6 +139,7 @@ void rds_info_copy(struct rds_info_iterator *iter, void *data,
|
||||
}
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rds_info_copy);
|
||||
|
||||
/*
|
||||
* @optval points to the userspace buffer that the information snapshot
|
||||
|
Reference in New Issue
Block a user